django1/tests/middleware/extra_urls.py

10 lines
234 B
Python

from django.urls import path
from . import views
urlpatterns = [
path("customurlconf/noslash", views.empty_view),
path("customurlconf/slash/", views.empty_view),
path("customurlconf/needsquoting#/", views.empty_view),
]