2014-04-02 08:46:34 +08:00
|
|
|
from django.conf.urls import url
|
2011-06-17 00:41:14 +08:00
|
|
|
|
2014-04-02 08:46:34 +08:00
|
|
|
urlpatterns = [
|
2011-06-17 00:41:14 +08:00
|
|
|
# View has erroneous import
|
2013-02-26 20:19:18 +08:00
|
|
|
url(r'erroneous_inner/$', 'urlpatterns_reverse.views.erroneous_view'),
|
2011-06-17 00:41:14 +08:00
|
|
|
# Module has erroneous import
|
2013-02-26 20:19:18 +08:00
|
|
|
url(r'erroneous_outer/$', 'urlpatterns_reverse.erroneous_views_module.erroneous_view'),
|
2011-06-17 00:41:14 +08:00
|
|
|
# View does not exist
|
2013-02-26 20:19:18 +08:00
|
|
|
url(r'missing_inner/$', 'urlpatterns_reverse.views.missing_view'),
|
2011-06-17 00:41:14 +08:00
|
|
|
# View is not callable
|
2013-02-26 20:19:18 +08:00
|
|
|
url(r'uncallable/$', 'urlpatterns_reverse.views.uncallable'),
|
2011-06-17 00:41:14 +08:00
|
|
|
# Module does not exist
|
2013-02-26 20:19:18 +08:00
|
|
|
url(r'missing_outer/$', 'urlpatterns_reverse.missing_module.missing_view'),
|
2012-07-22 04:30:34 +08:00
|
|
|
# Regex contains an error (refs #6170)
|
|
|
|
url(r'(regex_error/$', 'regressiontestes.urlpatterns_reverse.views.empty_view'),
|
2014-04-02 08:46:34 +08:00
|
|
|
]
|