31,714 questions
0 votes
0 answers
36 views
Connecting Django Rest API with React Native Application Issue [closed]
I made a system to help the company with a task work, and hopefully, be noticed to work with the development team. One of the things that's mandatory for my project is its compatibility for mobile ...
-1 votes
1 answer
54 views
DocuSign Sandbox: “ENVELOPE_ALLOWANCE_EXCEEDED” After 114 Envelopes and Trial Account Cannot Create Integration Key [closed]
I am working with a DocuSign sandbox (developer) environment to integrate embedded signing and webhook functionality into a Django REST Framework application. Initially, I was able to send envelopes ...
Best practices
1 vote
5 replies
80 views
How should I structure a Django backend with a Vue 3 frontend for a news application?
I’m building a small “newsroom” application where Django handles the backend (API, authentication, admin) and Vue 3 handles the frontend UI. I’m still fairly new to combining Django with a modern ...
-3 votes
2 answers
90 views
Python Django Rest Framework [closed]
What is the difference between decorator @api_view and @csrf_exempt in project level django rest framework? I need the difference and which is better to develop the project.
2 votes
2 answers
67 views
Django REST project doesn’t detect apps inside the “apps” directory when running makemigrations
I have a Django REST project where I created a directory called apps to store all my apps. Each app is added to the INSTALLED_APPS list in my settings file like this: INSTALLED_APPS = [ 'django....
1 vote
1 answer
70 views
403 Forbidden: "CSRF Failed: CSRF token missing." on DRF api-token-auth/ after applying csrf_exempt
I'm encountering a persistent 403 Forbidden error with the detail: CSRF Failed: CSRF token missing. This happens when trying to obtain an authentication token using Django REST Framework's built-in ...
2 votes
2 answers
61 views
Django Rest Framework ListAPIView user permissions - Cant seem to get them working
I have a Django project with DjangoRestFramework. I have a simple view, Facility, which is a ListAPIView. Permissions were generated for add, change, delete and view. I have create a new user, and ...
0 votes
1 answer
64 views
Create question with options from same endpoint
I am making a back-end system using DRF in Django. This is my first project in Django and DRF. I am using Django purely as a REST back-end I am making a quiz/mcq application This is from my questions ...
4 votes
1 answer
103 views
can I use get_or_create() in django to assign a global variable?
I am an intern at a company and we are using django as framework. I was working on a two part register system in which an admin performs the initial registration after which a link is sent to the user ...
0 votes
1 answer
55 views
Django Generics custom quering
I was working on notion like app, so I have a Note(consider as a Page in notion) and in that i am having blocks, where block having different id's and held with Note in Foreign field so now in views ...
0 votes
0 answers
58 views
Django Testing in microservices with more than 1 db running
I would like to ask about a certain topic that is tough one. Im working in a project that has microservices architecture with more than 1 databases running every time. in django, how can I perform ...
0 votes
1 answer
65 views
My django API “next” link uses a stale hostname only when receiving requests from GKE services (Like Cloud Run)
What are the details of your problem? I have a application in Django that is deployed using GKE. It uses an ingress to deploy it... Those manifests.yml that are used for deploying applications on ...
0 votes
1 answer
155 views
POST requests from Cloud Run arriving as GET requests in my Django REST API
I have a serverless pipeline on Google Cloud. It consists of three total steps: A video uploader that sends videos to Google Cloud Storage. Working fine. An eventarc + pub/sub trigger that fires ...
1 vote
0 answers
38 views
Django timestamp__date filtering works locally but returns extra rows in production?
I have a Django API that returns self signedup users in a given date range. The AuditLog model stores timestamp with DateTimeField(default=timezone.now) and USE_TZ=True. Locally, the date filter works ...
0 votes
0 answers
86 views
StreamingHttpResponse being buffered when using uvicorn/gunicorn/daphne in Django
I have a very simple view that Streams a repsonse. When using python manage.py runserverthe stream works as expected. But, when we use uvicorn app.asgi:application or daphne app.asgi:application or ...