From e9f5b9f0188c103404b2fe8fbed668a06f486409 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Thu, 12 May 2011 13:15:24 +0200 Subject: specific extensions to avoid causing problems for tags with '.' in them --- src/meetingtools/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meetingtools') diff --git a/src/meetingtools/urls.py b/src/meetingtools/urls.py index d134d6b..d7ea7f8 100644 --- a/src/meetingtools/urls.py +++ b/src/meetingtools/urls.py @@ -29,7 +29,7 @@ urlpatterns = patterns('', (r'^room/(\d+)/tag$','meetingtools.apps.room.views.tag'), (r'^room/(\d+)/untag/(.+)$','meetingtools.apps.room.views.untag'), (r'^widget/\+(.+)$','meetingtools.apps.room.views.widget'), - (r'^room/\+(.+)\.(?:[^\.]+)$','meetingtools.apps.room.views.list_by_tag'), + (r'^room/\+(.+)\.(?:json|xml|html|htm|atom|rss)$','meetingtools.apps.room.views.list_by_tag'), (r'^room/\+(.+)$','meetingtools.apps.room.views.list_by_tag'), # Uncomment the admin/doc line below to enable admin documentation: # (r'^admin/doc/', include('django.contrib.admindocs.urls')), -- cgit v1.1