45,159 questions with no answers
-1
votes
0
answers
36
views
Restarting backend container became unreachable for traefik(504 Gateway timeout)
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 ...
-1
votes
0
answers
46
views
ajax request in django
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(){
...
1
vote
0
answers
114
views
How to specify the name while concurrently removing indexes from database
I have some field in my table for which i need to remove indexing. In the django application, i saw that i could do this using the migrations.RemoveIndexConcurrently() method. However im having ...
-1
votes
0
answers
47
views
Error running developmental server in Django project some issue with migration
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 ...
0
votes
0
answers
60
views
iOS/web Auth Client ID Handling for Google Sign In
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 ...
0
votes
0
answers
29
views
KeyError 'email' for django-authtools UserCreationForm
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 ...
0
votes
0
answers
69
views
'django.db.utils.ProgrammingError: relation "users_user" does not exist' error while running ' python manage.py migrate_schemas --shared'
AccrediDoc - Multi-tenant Accreditation Management System
A comprehensive Django-based multi-tenant accreditation management system designed for healthcare organizations in India. Manage NABL, NABH, ...
-2
votes
0
answers
39
views
Django gunicorn gevent with Statsig - run code in forked process
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 ...
-2
votes
0
answers
71
views
Encoding full payload and decoding in server in REST
WAF is showing some errors due to including some HTML tags in my payload responses (mostly field-like messages and user guides). Sometimes, I am also sending R programming language code to the server, ...
0
votes
0
answers
105
views
Django ORM fails to generate valid sql for JSONb contains
lets start with the error first from my logs:
2025-10-21 19:18:11,380 ERROR api.services.observium_port_status_service Error getting port status from store: invalid input syntax for type json
LINE 1: ....
0
votes
0
answers
42
views
Why does pytest fail to resolve Related model references in a Django package?
I have an installable Django package that I have built and was starting to write tests for it. I am using pytest-django. However, when I run the tests, almost all the tests fail and I keep getting ...
1
vote
0
answers
75
views
Coinbase Python Seems to Cache OAuth User
I'm adding Coinbase OAuth to my Django application and something seems to be caching the first user that was authenticated.
When the following code is run by the Django application it always returns ...
0
votes
0
answers
116
views
Unable to change module directory "No Module named 'X' " Python, Django
I'm doing a "forum" app, and I'm moving my project directory from:
rusc
|-LinkMeta
|-cela
|-tag
|-faq
|-post
|-resource
|-rusc
To:
rusc
|-LinkMeta
|-rusc
|-cela
|-...
0
votes
0
answers
98
views
Modal window in wagtail page editing interface
I want to add a custom BlockFeature and for that i need a modal window for input. I don't understand how to make a modal input window so that the entred data will go straight to my custom blockfeature ...
0
votes
0
answers
50
views
Keeping the current chosen option from <select> marker passed from Django
I'm currently trying to create a website/webapp for my portfolio's bank using Django 5.2/HTML/CSS/JS. I got stuck on one small part of creating bank statement subpage.
The issue I have encountered is: ...
0
votes
0
answers
62
views
How can I set filter by month of folium map(Django project)
I am using folium and I can see in front folium map with markers, I use checkbox, but because of I have two month, I want to add radio button and selecting only one month.
I want to have filters by ...
2
votes
0
answers
66
views
Django HttpOnly cookies not persisted on iOS Safari and WebView, but work on Chrome and Android ITP
I'm using Django to set HttpOnly and Secure cookies for my React web application. These cookies work perfectly on Chrome (both desktop and mobile) and Android devices.
However, I'm encountering a ...
0
votes
0
answers
47
views
Django-Tenant-Users: IntegrityError on permissions_usertenantpermissions_profile_id_key when creating a tenant
I’m using Django with django-tenants and django-tenant-users to manage multi-tenant accounts.
I’m having an issue when creating a new tenant:
When I try to create a new user + its tenant through my ...
0
votes
0
answers
73
views
django tenants seeing data in all schemas
So I migrated my app to django tenants, in my local, I don't have any issues, I create a tenant and I don´t see the same data as public, but in the prod environment I see the data from public schema, ...
0
votes
0
answers
32
views
django-x509 library - any way to use certificate authentication only on several pages of application and continue with password for others?
After searching and investigating various X509 libs for django I found this https://github.com/openwisp/django-x509 IMHO looks the best - even CA and certificate generation are present in admin UI.
...
0
votes
0
answers
57
views
Indexing multiply nested models with django_elasticsearch_dsl
I'm trying to use Elasticsearch in my Django app. I have Lemma models that can have multiple Forms with one citation form that can, in turn, have multiple Spellings. I'm trying to execute a search on (...
0
votes
0
answers
73
views
'querystring' received too many positional arguments when passed a QueryDict
I'm using Django 5.2 and I can't get my head around the following issue:
In my view, I have something like this:
removal_qs = request.GET.copy() # contains teams=1&teams=2
removal_qs.setlist('...
0
votes
0
answers
49
views
Create Action Button in Open edx Admin panel using tutor plugins
I created and enabled a tutor plugin successfully using this command
cookiecutter https://github.com/overhangio/cookiecutter-tutor-plugin.git
How would I use this plugin to implement Admin Action ...
0
votes
0
answers
110
views
Django Admin ask for login on every click
Working on a Django project deployed on AWS. In production, I'm facing a session-related issue:
When I open the Django admin site (/admin) and log in, everything works smoothly. But if I open the user ...
0
votes
0
answers
33
views
Uppy with DO Storages on Django
I can not get Uppy AWS to work. I am using DigitalOcean Storage.
Here is the HTML (part is GitHub Copilot):
<div id="uppy"></div>
<script type="module">
...