django1/tests/middleware/extra_urls.py

8 lines
200 B
Python

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