From 4bd6c2c6f8aa39def73e32cb162e7382d71440f1 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 7fee470..bb6e223 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'),