django/tests/middleware/extra_urls.py

8 lines
233 B
Python

from django.conf.urls import patterns
urlpatterns = patterns('',
(r'^middleware/customurlconf/noslash$', 'view'),
(r'^middleware/customurlconf/slash/$', 'view'),
(r'^middleware/customurlconf/needsquoting#/$', 'view'),
)