I am using Django for a project and is already in production.
In the production environment 500.html is rendered whenever a server error occurs.
How do I tes
And if you want to use the default Django 500 view instead of your custom view:
if settings.DEBUG: urlpatterns += patterns('', (r'^500/$', 'django.views.defaults.server_error'), (r'^404/$', 'django.views.generic.simple.direct_to_template', {'template': '404.html'}), )