2010-01-11 01:35:01 +08:00
|
|
|
# coding: utf-8
|
2011-09-12 06:36:16 +08:00
|
|
|
from django.conf.urls import patterns
|
2010-01-11 01:35:01 +08:00
|
|
|
|
|
|
|
import views
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2011-04-02 21:27:17 +08:00
|
|
|
(r'^middleware_exceptions/view/$', views.normal_view),
|
|
|
|
(r'^middleware_exceptions/not_found/$', views.not_found),
|
|
|
|
(r'^middleware_exceptions/error/$', views.server_error),
|
|
|
|
(r'^middleware_exceptions/null_view/$', views.null_view),
|
|
|
|
(r'^middleware_exceptions/permission_denied/$', views.permission_denied),
|
2010-12-07 21:57:01 +08:00
|
|
|
|
2011-04-02 21:27:17 +08:00
|
|
|
(r'^middleware_exceptions/template_response/$', views.template_response),
|
|
|
|
(r'^middleware_exceptions/template_response_error/$', views.template_response_error),
|
2010-01-11 01:35:01 +08:00
|
|
|
)
|