mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #3228 -- Added new APPEND_SLASH handling behaviour in the common middleware. Makes customisation a bit easier. Thanks, Mihai Preda and Andy Gayton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
7
tests/regressiontests/middleware/urls.py
Normal file
7
tests/regressiontests/middleware/urls.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from django.conf.urls.defaults import patterns
|
||||
|
||||
urlpatterns = patterns('',
|
||||
(r'^noslash$', 'view'),
|
||||
(r'^slash/$', 'view'),
|
||||
(r'^needsquoting#/$', 'view'),
|
||||
)
|
||||
Reference in New Issue
Block a user