add option to have direct download instead of torrent
This commit is contained in:
parent
d8fff463de
commit
f3c9d7b7af
9 changed files with 42 additions and 3 deletions
|
|
@ -19,6 +19,9 @@ urlpatterns = patterns("item.views",
|
|||
(r'^(?P<id>[A-Z0-9].*)/torrent$', 'torrent'),
|
||||
(r'^(?P<id>[A-Z0-9].*)/torrent/(?P<filename>.*?)$', 'torrent'),
|
||||
|
||||
#download
|
||||
(r'^(?P<id>[A-Z0-9].*)/download/$', 'download'),
|
||||
|
||||
#export
|
||||
(r'^(?P<id>[A-Z0-9].*)/json$', 'item_json'),
|
||||
(r'^(?P<id>[A-Z0-9].*)/xml$', 'item_xml'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue