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