debug=false issue
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 could be causing this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: DEBUG=False issue
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/2011 02:23 PM, Bobby Roberts wrote: 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 could be causing this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
DEBUG=False issue
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 could be causing this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.