also serve torrent at id/torrent not only id/torrent/

This commit is contained in:
j 2012-10-04 10:44:09 +02:00
parent e441e09bd9
commit 8becaf2bb8

View file

@ -16,6 +16,7 @@ urlpatterns = patterns("item.views",
(r'^(?P<id>[A-Z0-9].*)/(?P<resolution>\d+)p(?P<index>\d*)\.(?P<format>webm|ogv|mp4)$', 'video'),
#torrent
(r'^(?P<id>[A-Z0-9].*)/torrent$', 'torrent'),
(r'^(?P<id>[A-Z0-9].*)/torrent/(?P<filename>.*?)$', 'torrent'),
#export