diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-12-17 16:14:26 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-12-17 16:14:26 +0100 |
commit | 511ae48877f8f3fae2a3ba282d979c33f2ea5491 (patch) | |
tree | 946b97a81fa6a3efbc181177e805cee922305a47 /module/web/pyload/urls.py | |
parent | Little Rapidshare Fix (diff) | |
download | pyload-511ae48877f8f3fae2a3ba282d979c33f2ea5491.tar.xz |
webinterface: config working, downloadable files
Diffstat (limited to 'module/web/pyload/urls.py')
-rw-r--r-- | module/web/pyload/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/web/pyload/urls.py b/module/web/pyload/urls.py index 667a4ed3d..63badeb25 100644 --- a/module/web/pyload/urls.py +++ b/module/web/pyload/urls.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from os.path import join @@ -8,6 +9,7 @@ from django.conf.urls.defaults import * urlpatterns = patterns('pyload', (r'^home/$', 'views.home'), (r'^downloads/$', 'views.downloads',{},'downloads'), + (r'^download/(?P<path>[a-zA-z\.0-9\-/_%]+)$', 'views.download',{},'download'), (r'^queue/$', 'views.queue',{}, 'queue'), (r'^logs/$', 'views.logs',{}, 'logs'), (r'^$', 'views.home',{}, 'home'), |