Skip to main content
-1 votes
1 answer
152 views

I get and error CommandError: You must set settings.ALLOWED_HOSTS if DEBUG is False Below are the edits I attempted seeing at stackoverflow's suggestion from various queries around 5 of them were ...
M K's user avatar
  • 1
1 vote
1 answer
147 views

I am using the Summernote plugin for Django and my target is to allow users to upload media inside the server. At the moment files are organized (by default) in a folder named with the upload date. ...
Nicolaesse's user avatar
  • 2,764
1 vote
1 answer
147 views

I need to add a restriction on account login attempts to my django site, I found the popular django-axes library, followed the documentation and code examples, but when I try to log in to my account (...
DANIRU's user avatar
  • 13
1 vote
1 answer
219 views

I had the same problem with media files before, I did all the configuration but django kept saving the media files locally and not in S3, I think it was solved by implementing a custom class ...
Esteban Fernandez's user avatar
1 vote
1 answer
1k views

I've recently upgraded to Django 5.1 and configured the database pooling option with the following settings: DATABASES["default"]["OPTIONS"] = { "pool": {"...
Dante's user avatar
  • 435
4 votes
0 answers
96 views

I ran into a problem in postman that was not there until yesterday when I was working with it and it was working fine, but now it is not working anymore. I'm trying to create a user using djoser ...
kimiya's user avatar
  • 41
0 votes
0 answers
107 views

This is the Custom user model I also declared in settings AUTH_USER_MODEL="recipes.CustomUser" still I face this error ValueError:The field admin.LogEntry.user was declared with a lazy ...
Rohit Parodhi's user avatar
1 vote
1 answer
259 views

I'm encountering an issue with my custom 404 page rendering functionality in Django. Despite setting up the necessary components, the custom 404 page is not being displayed when a page is not found. ...
DragonFruit's user avatar
1 vote
1 answer
509 views

I'm currently developing an application using Django and aiming to integrate geospatial functionalities by adding "django.contrib.gis" to my project's INSTALLED_APPS. However, upon adding ...
SindBadSystem's user avatar
0 votes
1 answer
66 views

I need to know how you normally solve this issue. When you start a project, django creates a folder for the project and a second one inside it with the exact same name and the files like: settings.py, ...
Andresfgc's user avatar
0 votes
1 answer
93 views

Here's the problem. When migrating multiple 'STATICFILES_DIRS', I am good to go, and the server continues to run without any errors... ... Here's the snippet to my 'STATICFILES_DIRS' ... ... ...
Little Rick's user avatar
0 votes
2 answers
340 views

I am trying to connect a Django Google App engine to an instance of Cloud Mysql using django-environ. The app is unable to connect to the database, but otherwise runs successfully. I have followed ...
Wesley Peart's user avatar
0 votes
1 answer
404 views

I am encountering an error when utilizing django-split-settings (version 1.3.0) and drf-spectacular (version 0.27.1) in my Django project. The error occurs when attempting to access the Swagger UI ...
Ali Shamsadini's user avatar
0 votes
1 answer
35 views

I am making my first app, which is a todolist app. I am trying to get users to register with email and login with it. This is the error that the debug shows me: ProgrammingError at /register/ no ...
Rcacodedev's user avatar
1 vote
1 answer
700 views

Problem: Mypy Error: The mypy error encountered is as follows: error:Import cycle from Django settings module prevents type inference for 'LANGUAGES' [misc] I'm encountering challenges with the usage ...
Charlie's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
62