Tuesday, February 21, 2012

django 1.1: nonexistent URLs display 500.html instead of 404.html

I am using django 1.1, with DEBUG = False, and
TEMPLATE_CONTEXT_PROCESSORS is missing commas, all nonexistent URLs
display 500.html instead of 404.html. If I set DEBUG to True, it
displays the default 404 page. if I add the commas to
TEMPLATE_CONTEXT_PROCESSORS, then it displays the 404 page. The commas
are not added by default. All pages do exist, so I am not missing
anything.

Is this a known bug?

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate