tuskar-ui/openstack_dashboard/test/error_pages_urls.py
Kieran Spear 76ef256dc4 Don't inherit from base.html in 500 error page
For server errors, the context passed to the template is empty,
so things like STATIC_URL and context processors don't work.

Fixes bug 1067206.

Change-Id: Ia1801afaecd6a23fbcc6054552d0fd313597d1c1
2012-11-21 12:13:17 +11:00

8 lines
187 B
Python

from django.conf.urls import patterns, url, include
from openstack_dashboard.urls import urlpatterns
urlpatterns += patterns('',
(r'^500/$', 'django.views.defaults.server_error')
)