summaryrefslogtreecommitdiffstats
path: root/module/web/pyload/urls.py
diff options
context:
space:
mode:
authorGravatar therazer <devnull@localhost> 2010-11-09 15:57:49 +0100
committerGravatar therazer <devnull@localhost> 2010-11-09 15:57:49 +0100
commit46f947f7d8fd3012c648750e685cec8628e5db91 (patch)
treef39f5be671a7c7d64cbcaa8374701fe62321ddc6 /module/web/pyload/urls.py
parentaccount cache fix (diff)
downloadpyload-46f947f7d8fd3012c648750e685cec8628e5db91.tar.xz
added browser to set paths in settings
Diffstat (limited to 'module/web/pyload/urls.py')
-rw-r--r--module/web/pyload/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/web/pyload/urls.py b/module/web/pyload/urls.py
index c4c2f6ef2..6523d711a 100644
--- a/module/web/pyload/urls.py
+++ b/module/web/pyload/urls.py
@@ -17,9 +17,13 @@ urlpatterns = patterns('pyload',
(r'^logs/(?P<item>\d+)$', 'views.logs',{}, 'logs'),
(r'^package_ui.js$', 'views.package_ui', {}, 'package_ui'),
(r'^$', 'views.home',{}, 'home'),
+ url(r'^pathchooser/(?P<path>.*)', 'views.path', name='path'),
+ url(r'^pathchooser/$', 'views.root', name='root'),
)
urlpatterns += patterns('django.contrib.auth',
(r'^login/$', 'views.login', {'template_name': join(settings.TEMPLATE, 'login.html')}),
(r'^logout/$', 'views.logout', {'template_name': join(settings.TEMPLATE, 'logout.html')}, 'logout'),
-) \ No newline at end of file
+)
+
+