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,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 New Issue