mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #10326: handler500 and handler404 may now be callables. Thanks, dcwatson, adurdin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Used by the ErrorHandlerResolutionTests test case.
|
||||
|
||||
from django.conf.urls.defaults import patterns
|
||||
|
||||
urlpatterns = patterns('')
|
||||
|
||||
handler404 = 'regressiontests.urlpatterns_reverse.views.empty_view'
|
||||
handler500 = 'regressiontests.urlpatterns_reverse.views.empty_view'
|
||||
Reference in New Issue
Block a user