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