1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

[1.1.X] Fixed #6228: Changed common middleware to respect request-specific urlconf. Thanks trey, skevy, and mikexstudios.

r12704 and r12705 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey
2010-03-07 20:14:34 +00:00
parent 90e12662b9
commit b86b38f618
3 changed files with 133 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
from django.conf.urls.defaults import patterns
urlpatterns = patterns('',
(r'^middleware/customurlconf/noslash$', 'view'),
(r'^middleware/customurlconf/slash/$', 'view'),
(r'^middleware/customurlconf/needsquoting#/$', 'view'),
)