summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_scripts/urls.py')
-rw-r--r--tests/admin_scripts/urls.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/admin_scripts/urls.py b/tests/admin_scripts/urls.py
index a6cc7fe1b5..3e7aa063d3 100644
--- a/tests/admin_scripts/urls.py
+++ b/tests/admin_scripts/urls.py
@@ -3,6 +3,8 @@ import os
from django.urls import path
from django.views.static import serve
+from . import views
+
here = os.path.dirname(__file__)
urlpatterns = [
@@ -11,4 +13,8 @@ urlpatterns = [
serve,
{"document_root": os.path.join(here, "custom_templates")},
),
+ path(
+ "bad_template_filename.tgz",
+ views.template_bad_filename,
+ ),
]