mirror of
https://github.com/Hopiu/django.git
synced 2026-05-14 10:33:09 +00:00
Changed RSS urlconf to accept any character for param -- not just slashes and alphanumerics
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8b71b9b870
commit
3aa236e10d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
from django.conf.urls.defaults import *
|
||||
|
||||
urlpatterns = patterns('django.views',
|
||||
(r'^(?P<slug>\w+)/$', 'rss.rss.feed'),
|
||||
(r'^(?P<slug>\w+)/(?P<param>[\w/]+)/$', 'rss.rss.feed'),
|
||||
(r'^(?P<slug>[^/]+)/$', 'rss.rss.feed'),
|
||||
(r'^(?P<slug>[^/]+)/(?P<param>.+)/$', 'rss.rss.feed'),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue