Changed error code 500 testing so it works better with Django 1.x
- Legacy-Id: 1774
This commit is contained in:
parent
a5b787710c
commit
3806e92406
|
@ -72,5 +72,5 @@ if django.VERSION[0] == 0:
|
|||
if settings.SERVER_MODE in ('development', 'test'):
|
||||
urlpatterns += patterns('',
|
||||
(r'^(?P<path>(?:images|css|js)/.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
|
||||
(r'^_test500/$', 'ietf.doesnotexist'),
|
||||
(r'^_test500/$', lambda x: None),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue