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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment