From 4e472cf223d37ccb37466f45a222f47c26cc9a21 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 27 Jun 2011 22:06:21 +0200 Subject: [PATCH] unbreak urls --- pandora/item/urls.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pandora/item/urls.py b/pandora/item/urls.py index 7fee4708f..bb6e2235c 100644 --- a/pandora/item/urls.py +++ b/pandora/item/urls.py @@ -6,8 +6,12 @@ from django.conf.urls.defaults import * urlpatterns = patterns("item.views", (r'^(?P[A-Z0-9].*)/frame/(?P\d+)/(?P[0-9\.,]+).jpg$', 'frame'), - (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*.[webm|ogv|mp4])$', 'video'), - (r'^(?P[A-Z0-9].*)/(?P.*.[webm|ogv|mp4])$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*\.webm)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*\.ogv)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*\.mp4)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P.*\.webm)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P.*\.ogv)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P.*\.mp4)$', 'video'), (r'^(?P[A-Z0-9].*)/poster\.(?P\d+)\.jpg$', 'poster'), (r'^(?P[A-Z0-9].*)/poster\.(?Plarge)\.jpg$', 'poster'), (r'^(?P[A-Z0-9].*)/poster\.jpg$', 'poster'),