debug=false issue

2011-06-02 Thread Bobby Roberts
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

Re: DEBUG=False issue

2011-06-02 Thread Casey Greene
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

DEBUG=False issue

2011-06-02 Thread Bobby Roberts
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