Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
1 replies
26 views

I want to build a website with Vue/Vite as frontend and Django as a backend. When my frontend needs to get data from the backend I currently do something like this (which works perfectly fine): const ...
feps's user avatar
  • 45
2 votes
1 answer
67 views

I'm getting a bunch of logs like this: [2025-11-29 16:13:15,731] def group(self, tasks, result, group_id, partial_args, add_to_parent=0): return 1 [2025-11-29 16:13:15,732] def xmap(task, it): ...
csirmazbendeguz's user avatar
0 votes
0 answers
36 views

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 ...
Pedrin_Dev's user avatar
-3 votes
0 answers
29 views

I'm trying to integrate paystack into my django E-commerce but I keep getting this error, ❌ Order creation error: [WinError 10061] No connection could be made because the target machine actively ...
Muhammad Ibrahim Shehu's user avatar
2 votes
1 answer
64 views

I'm building a molecule properties displaying website using django and sqlite. The database takes a numpy array and stores it as a BLOB. Currently, it just outputs the numpy array back out when asked ...
Giggabite's user avatar
0 votes
2 answers
67 views

I’m trying to measure the exact time spent in each stage of my API request flow — starting from the browser, through Nginx, into Django, then the database, and back out through Django and Nginx to the ...
Smruti Ranjan Sahu's user avatar
-2 votes
0 answers
77 views

i get the data from the server with fetch API it contains html, when i click on load more posts button it should load the html at the bottom of the page we got from the server, but it also loads the ...
Samyar's user avatar
  • 23
Best practices
1 vote
5 replies
83 views

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 ...
Random3c0d3's user avatar
-3 votes
0 answers
61 views

Hi everyone I am trying to upload a application using Nginx, Gunicorn, Django application run fine in development environment but for production it does not serves static files. I tried hard but ...
Husrat's user avatar
  • 83
-4 votes
0 answers
63 views

I’m having a problem and I can’t find a solution. I have deployed a Django backend and a React frontend using Docker. I’m using Traefik as a reverse proxy for the web server. When I start Traefik, the ...
Mario Petkovski's user avatar
-3 votes
1 answer
105 views

I am getting data from the server. The view must renders an html page without reloading the entire page، but this renders whole page including the header of current page, this is a problem, each time ...
Samyar's user avatar
  • 23
Advice
0 votes
1 replies
66 views

It would be nice if there were an easy way to define separate session expiry time for the admin area of a django website. So, admin users could log themselves into the "normal" website (seen ...
ventolin's user avatar
  • 2,997
0 votes
1 answer
36 views

I am building a mid-level project called School-Admin Panel with Django. I have completed most of the segments sucessfully, but I am having an issue with the performance forest. The formset loads and ...
Nicolas Riggs Nicolas's user avatar
2 votes
1 answer
51 views

I have an inline formset in Django. I have a table called SubItem which is related to Item. Many SubItems to one Item. Some Items don't have any SubItems. Sections of code are obviously missing from ...
Spinnaay's user avatar
  • 151
Advice
1 vote
1 replies
77 views

I'm new to Django, and I'm working on a project where I'm reusing static pages and changing them to be suitable Django templates. As a part of the previous project, I made some custom HTML elements ...
Alteria's user avatar
  • 29
0 votes
0 answers
92 views

As I am following the Django channels tutorial (here is the link: https://channels.readthedocs.io/en/latest/tutorial/part_2.html ), I won't post any code except the specific problem I am having. In my ...
Brian Ketelboeter's user avatar
-1 votes
0 answers
53 views

I implemented the post like feature using ajax in the Django project, but it doesn't work. And it gives a 404 error in the console. template.html <script> $(document).ready(function(){ ...
Samyar's user avatar
  • 23
-3 votes
2 answers
90 views

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.
Sanjay N's user avatar
0 votes
2 answers
53 views

When I delete a file from the Attachment model (which is provided by django-summernote), the record is removed from the database, but the actual file remains on the server. I want to make sure that ...
Afshar Sharifi's user avatar
1 vote
1 answer
63 views

I try to use TailwindCSS and CSS (as static), but TailwindCSS utilities override the static CSS styles. I tried moving TailwindCSS invocation tags after, before static CSS invocation, but it didn't ...
Avoy Sain's user avatar
0 votes
0 answers
79 views

To preface, I'm not asking for a direct fix here, I'm just curious if what I'm doing is the appropriate auth flow for setting dynamic client ID based on device platform. I am 2 applications that use ...
Kelvin Jou's user avatar
0 votes
0 answers
31 views

Sometimes, I have many flaky test failures due to one error: ImportError: cannot import name 'task_import_events_to_db' from 'app.tasks' (unknown location) It seems the tests fail because of this ...
Vasyl Bilych's user avatar
0 votes
0 answers
31 views

I am experiencing an error for which I can’t find an origin. I believe the error stems from GitHub - fusionbox/django-authtools: A custom User model for everybody!, and disclaimer, I have asked this ...
Nicola Zilio's user avatar
1 vote
2 answers
92 views

I've got a project based on django, that wraps some custom code. During import, this code is loading some heavy file to be executed. I need to check whether imports are executed under "runserver ...
Domenico Monaco's user avatar
2 votes
2 answers
68 views

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....
Ali Motamed's user avatar
0 votes
1 answer
34 views

In View Function it can show this error Request Method:GETRequest URL:http://127.0.0.1:8000/inbox/Django Version:4.2.25Exception Type:ValueErrorException Value:Cannot query "admin": Must be &...
Futurelink Technologies's user avatar
0 votes
0 answers
72 views

I'm processing webhooks on Cloud Run (Django) that need async handling because processing takes 30+ seconds but the webhook provider times out at 30s. Since Cloud Run is stateless and spins up per-...
user26535132's user avatar
0 votes
0 answers
70 views

I am trying to annotate a queryset with next_service = last_service + verification_periodicity_in_days and then filter by that date. I am on Django 5.2.6 with PostgreSQL. last_service is a DateField. ...
Richard AR's user avatar
-2 votes
1 answer
47 views

I fill the Django form in contact.html file. But form data is not saved in database or another place. There is no error or warning while saving the form data. Form screenshot: Form screenshot. views....
cdemir's user avatar
  • 1
1 vote
1 answer
71 views

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 ...
mohsen's user avatar
  • 11
0 votes
0 answers
73 views

AccrediDoc - Multi-tenant Accreditation Management System A comprehensive Django-based multi-tenant accreditation management system designed for healthcare organizations in India. Manage NABL, NABH, ...
Dr BRIJESH PATEL's user avatar
2 votes
1 answer
81 views

I am using Django 5.2 with Postgres 17 and try to modify the queryset of a ListView for row-based access control. Items are to be included in the queryset either if the user is part of a project that ...
gunnar's user avatar
  • 76
-2 votes
1 answer
82 views

I have two views that spawn these messages in sudo systemctl status gunicorn: gunicorn: Nov 07 10:46:36 mysite gunicorn[2107]: cleansed = [self.cleanse_setting("", v) for v in value] Nov ...
Mohammed Baashar's user avatar
0 votes
0 answers
37 views

I'm integrating Apple In-App Purchases with StoreKit 2 in an iOS app. The backend (Django) handles subscription verification and links each transaction to a user using appAccountToken. Everything ...
Albin Mathew's user avatar
1 vote
2 answers
110 views

I am upgrading my Django project to v5.2.7. After installing requirements.txt with the upgraded versions of all libraries, I ran the command to validate the code python manage.py check But it is ...
Charmi's user avatar
  • 123
-1 votes
0 answers
49 views

I have developed a project for SASS with django tenate. While migratiing, I got the following error it seems, like it is related to migration file. (acc_venv) D:\\workik_projects\\AccrediDoc_v2\>py ...
Dr BRIJESH PATEL's user avatar
0 votes
3 answers
75 views

I'm deploying my Django project to Vercel, and everything works fine locally but after deployment, images from the static folder are not showing. Project structure: datafam/ ├── settings.py ├── ...
Abu Sofian's user avatar
0 votes
1 answer
48 views

I've set-up email sending in my Django project that is deployed on AWS. When I run it locally the emails go out without a problem, but when I try it on production server on EC2 ubuntu VM, I get ...
Viktor's user avatar
  • 491
2 votes
2 answers
61 views

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 ...
Mathijs van Nimwegen's user avatar
-2 votes
0 answers
39 views

I am running Django app with gunicorn gevent workers. I'm using Statsig for Feature Flagging. It appears to be struggling, I assume due to gevents monkey patching. I was hoping I could get around this ...
user2616166's user avatar
-2 votes
0 answers
99 views

Edit Here is a similar question but is specifically about request sync block in async. I'm just curious more about why the concurrency means they all take substantially longer - at different places in ...
user2616166's user avatar
0 votes
1 answer
64 views

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 ...
Sam8848's user avatar
4 votes
2 answers
112 views

I'm working on a Django application in which I need to calculate the difference between timestamps stored in the DB. This week I run into some problems related to DST. In particular in the following ...
Luca Zanetti's user avatar
4 votes
1 answer
103 views

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 ...
Parsa Ghost's user avatar
1 vote
0 answers
51 views

Beat seems to be sending the messages into SQS very slowly, about 100/minute. Every Sunday I have a sendout to about 16k users, and they're all booked for 6.30pm. Beat starts picking it up at the ...
Diogo Freire's user avatar
3 votes
1 answer
93 views

Summary Running Django migrations against our MongoDB database does not create MongoDB collections or indexes as defined in our app. The command completes without errors, but no collections or indexes ...
Neeraj Verma's user avatar
4 votes
1 answer
108 views

I’m working with a hierarchical model structure in Django, where each level can represent a region, district, or village. The structure looks like this: class Location(models.Model): name = models....
Ziyodulla Abdukarimov's user avatar
1 vote
1 answer
148 views

I'm trying to deploy a Django app with Gunicorn and Nginx under a subpath, I'm inside a corporate network, and the path www.example.com/myapp points to the IP 192.168.192.77:8080 of my PC on the local ...
csong's user avatar
  • 11
2 votes
1 answer
91 views

Why I need to use atomic() when I have only 1 db operation inside atomic block? My AI-assistant tells me that it prevents race conditions, but I don't use select_for_update() inside. It tells that db ...
Alex's user avatar
  • 66
0 votes
1 answer
218 views

I am quite new to Supabase. Basically, I am doing auth using Supabase and have this table called "profiles" with columns: id - UUID username - text email - text Now when I create a new ...
Charu Singhania's user avatar

1
2 3 4 5
6232