summaryrefslogtreecommitdiff
path: root/tests/view_tests/urls.py
diff options
context:
space:
mode:
authorKeryn Knight <keryn@kerynknight.com>2022-01-26 15:09:08 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-28 07:07:12 +0100
commitc5c7a15b09368a58340d3a65ba9d1f1441e92dc8 (patch)
tree2d8cbe6e5bc01935b8132ad9b8152cd07527e398 /tests/view_tests/urls.py
parent3a9b8b25d48c5768633e73edc5ddca20c3fd716c (diff)
downloaddjango-c5c7a15b09368a58340d3a65ba9d1f1441e92dc8.tar.gz
Fixed #33461 -- Escaped template errors in the technical 500 debug page.
Diffstat (limited to 'tests/view_tests/urls.py')
-rw-r--r--tests/view_tests/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/view_tests/urls.py b/tests/view_tests/urls.py
index 7a20ff40fa..159f353ee6 100644
--- a/tests/view_tests/urls.py
+++ b/tests/view_tests/urls.py
@@ -59,6 +59,11 @@ urlpatterns += i18n_patterns(
)
urlpatterns += [
+ path(
+ 'safestring_exception/',
+ views.safestring_in_template_exception,
+ name='safestring_exception',
+ ),
path('template_exception/', views.template_exception, name='template_exception'),
path(
'raises_template_does_not_exist/<path:path>',