Empty Dynamic Nested Serializer for Generic Django Model
I have this generic Model called Thumbs with two fields which can describe another model.
The two fields are:
Django Error: “‘type’ object is not iterable”
i’m a Django beginner and want to write a website for my friend who works as a painter.
i wanted to write a rest-api so i can access the models in my frontend (which i didnt implement yet).
when i try to call the subdomain for a model i wrote i get the error “‘type’ object is not iterable”.
i wanted to make it possible for users that are registered to leave a feedback, so i wrote a class Feedback. I also implemented a FeedbackSerializer and a FeedbackView.
i was trying to use chatgpt but that was of no help. stackoverflow also didnt have any similar errors like the one that occured to me.
Django Error: “‘type’ object is not iterable”
i’m a Django beginner and want to write a website for my friend who works as a painter.
i wanted to write a rest-api so i can access the models in my frontend (which i didnt implement yet).
when i try to call the subdomain for a model i wrote i get the error “‘type’ object is not iterable”.
i wanted to make it possible for users that are registered to leave a feedback, so i wrote a class Feedback. I also implemented a FeedbackSerializer and a FeedbackView.
i was trying to use chatgpt but that was of no help. stackoverflow also didnt have any similar errors like the one that occured to me.
Django Error: “‘type’ object is not iterable”
i’m a Django beginner and want to write a website for my friend who works as a painter.
i wanted to write a rest-api so i can access the models in my frontend (which i didnt implement yet).
when i try to call the subdomain for a model i wrote i get the error “‘type’ object is not iterable”.
i wanted to make it possible for users that are registered to leave a feedback, so i wrote a class Feedback. I also implemented a FeedbackSerializer and a FeedbackView.
i was trying to use chatgpt but that was of no help. stackoverflow also didnt have any similar errors like the one that occured to me.
Django Rest Framework RetrieveUpdateAPIView not working
I’m having an issue with using RetrieveUpdateAPIView and RetrieveDestroyAPIView. I’m trying to Update or Delete a Newsletter object while logged in as an administrator. Unfortunately, after clicking ‘PUT’ or ‘DELETE’, it automatically logs me out and Django Rest Framework shows an error:
(DJango) What is the solution to “ModuleNotFoundError: No module named’rest_frameworks'” if nothing works?
I followed a tutorial on youtube and was then faced with such a problem. I tried to find a solution, but nothing worked for me. Maybe something’s wrong with my IDE or anything?
why my django resgistration view not able to add new users?
I have below DRF APIView, I am building a basic user registration with OTP
Django update_or_create efficiency
Is using