hey -
i've got a weird issue with a django app. The app runs great on both
the front end and in the /admin section when DEBUG=True in my
settings.py file. However, whenever I set DEBUG=False in the settings
file so that i get tracebacks by email, the entire /admin section
404s. Any idea what co
You are probably registering your models for the admin section in
models.py instead of an admin.py file. This works in DEBUG where all of
the models files but not when DEBUG is off.
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-objects
Hope this helps,
Casey
On 06/02/20
hey -
i've got a weird issue with a django app. The app runs great on both
the front end and in the /admin section when DEBUG=True in my
settings.py file. However, whenever I set DEBUG=False in the settings
file so that i get tracebacks by email, the entire /admin section
404s. Any idea what co
3 matches
Mail list logo