fix(settings): Remove erroneously added DJANGO_SETTINGS_MODULE from settings.py as it is causing ModuleNotFoundError: No module named 'pkmntrade_club.django_project.settings' when using django-admin commands

This commit is contained in:
badblocks 2025-05-23 23:22:03 -07:00
parent b26ca10489
commit 4af7512293
No known key found for this signature in database

View file

@ -21,7 +21,6 @@ env = environ.Env(
ALLOWED_HOSTS=(str, 'localhost,127.0.0.1'), ALLOWED_HOSTS=(str, 'localhost,127.0.0.1'),
PUBLIC_HOST=(str, 'localhost'), PUBLIC_HOST=(str, 'localhost'),
ACCOUNT_EMAIL_VERIFICATION=(str, 'none'), ACCOUNT_EMAIL_VERIFICATION=(str, 'none'),
DJANGO_SETTINGS_MODULE=(str, 'pkmntrade_club.django_project.settings'),
SCHEME=(str, 'http'), SCHEME=(str, 'http'),
REDIS_URL=(str, 'redis://redis:6379'), REDIS_URL=(str, 'redis://redis:6379'),
CACHE_TIMEOUT=(int, 604800), CACHE_TIMEOUT=(int, 604800),