I am working on an e-commerce project where I am using Django for the backend and ReactJS for the front end. However, I am encountering an error when ...
I am working on an e-commerce project where I am using Django for the backend and ReactJS for the front end. However, I am encountering an error when ...
my project uses multithreading to work on several tasks simultaneously. I'd like my UI (I'm using Vue.js) to send a list/array of items to my API to w ...
I'm building an API using DRF, and as I am a beginner, I can't get my head across this. I'm building an instagram clone using DRF and was able to atta ...
null value in column "user_id" violates not-null constraint DETAIL: Failing row contains (1, 10000, 11200, null). this is my models.py id =models.Ch ...
I am new to Django and I am trying to exclude a model field in nested serializer. modals.py serializers.py I am trying to exclude comment which ...
i am trying to save an object with an image using django restframework but when i use the FormParser and MultiPartParser classes the request.data obje ...
I have a React app and a Django Rest API. My goal is to get the PaymentRequestButtonElement working. In my Stripe dashboard (test mode) I get the fo ...
I have this form in my Django project. On page load it should only show the entity name, but it's showing both the entity-name and quote-text fields. ...
In my Django, when I try to run the server, it displays this error. What should be done to fix the error?enter image description here What should be ...
I'm trying to set up websockets to show any new entry in Post model (I'm new with websockets) This is the consumers.py For checking if it works ...
Problem: Joining 2 models in Django. Error: Error during template rendering. Direct assignment to the reverse side of a many-to-many set is prohibite ...
I am implementing a search bar that returns the users and the posts. I am able to return the data but when I clear the search bar I get the error retu ...
this is my first time trying to upload image to django rest framework, i am using svelte for my front end and using the fetch api for requests. i am ...
this is django rest_framework api I created this api for restourant. This is menu api . I want to save menu.json's data to my database, but I could no ...
I have this REST API: How can i rewrite this with routers? Default router with register method creates API -> GET users/ and POST users/ and al ...
I have created a view to search posts based on their body text. I added a breakpoint to the view and I tested it with mutliple search terms and it wor ...
I have choices like this in my choices.py I want to get result like this as json from APIVIEW using get method Is there any solution? Thanks ...
I'm trying to make backend using DRF, and I just faced a problem. models.py: Result from POSTMAN when using the option. But I want to get a res ...
I try to create a api call: serializer: So the main url works: http://127.0.0.1:8000/djangoadmin/groups/ But if I go to: http://127.0.0.1:8000/ ...
I have a React app which I am testing on Vercel. The app was created using create-react-app. I have a Stripe Account and a Django REST API, hosted o ...