mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +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:
parent
d38cb0b253
commit
1f629bff99
7 changed files with 162 additions and 20 deletions
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'),
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue