diff options
author | therazer <devnull@localhost> | 2010-11-09 15:57:49 +0100 |
---|---|---|
committer | therazer <devnull@localhost> | 2010-11-09 15:57:49 +0100 |
commit | 46f947f7d8fd3012c648750e685cec8628e5db91 (patch) | |
tree | f39f5be671a7c7d64cbcaa8374701fe62321ddc6 /module/web/pyload/urls.py | |
parent | account cache fix (diff) | |
download | pyload-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.py | 6 |
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 +) + + |