dont mask the item with id V with old ids

This commit is contained in:
j 2013-09-11 18:38:30 +02:00
parent 4f7c7e9abe
commit 9732d329b5

View file

@ -56,13 +56,13 @@ urlpatterns += patterns('',
)
urlpatterns += patterns('',
(r'^(V[a-z0-9]*)$', 'urlalias.views.padma_video'),
(r'^(V[a-z0-9]*/.*)$', 'urlalias.views.padma_video'),
(r'^(V[a-z0-9]+)$', 'urlalias.views.padma_video'),
(r'^(V[a-z0-9]+/.*)$', 'urlalias.views.padma_video'),
(r'^find$', 'urlalias.views.padma_find'),
)
urlpatterns += patterns('',
(r'^(?P<id>[A-Z0-9].*)/embed', 'app.views.embed'),
(r'^(?P<id>[A-Z0-9].*)$', 'item.views.item'),
(r'^(?P<id>[A-Z0-9].+)/embed', 'app.views.embed'),
(r'^(?P<id>[A-Z0-9].+)$', 'item.views.item'),
(r'^[a-z0-9].+$', 'app.views.index'),
(r'^$', 'app.views.index'),
(r'^.*$', 'app.views.index'),