django.views.defaults.django_server_error

Here are the examples of the python api django.views.defaults.django_server_error taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

Project: dpaste Source File: views.py
Function: server_error
def server_error(request, template_name='dpaste/500.html'):
    return django_server_error(request, template_name) # pragma: no cover