diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-12 13:15:24 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-12 13:15:24 +0200 |
commit | e9f5b9f0188c103404b2fe8fbed668a06f486409 (patch) | |
tree | 7598c8712a19c128ef3327f299703a1af02ccd7e | |
parent | 7bb8b1301c882c7fd36d69888b4721f14f82e317 (diff) |
specific extensions to avoid causing problems for tags with '.' in them
-rw-r--r-- | src/meetingtools/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
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')), |