summaryrefslogtreecommitdiffstats
path: root/module/web/urls.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 17:09:14 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-12-16 17:09:14 +0100
commitfe85f003f3adfb568c8b1a650035128c183a739d (patch)
tree3abde88d3554831e0a41e3fd2d5d4092fd677a1f /module/web/urls.py
parentre-added progressbar (diff)
downloadpyload-fe85f003f3adfb568c8b1a650035128c183a739d.tar.xz
some Webinterface Json Code
Diffstat (limited to 'module/web/urls.py')
-rw-r--r--module/web/urls.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/module/web/urls.py b/module/web/urls.py
index 3e573aa95..4f47fc281 100644
--- a/module/web/urls.py
+++ b/module/web/urls.py
@@ -9,22 +9,15 @@ admin.autodiscover()
urlpatterns = patterns('',
# Example:
- # (r'^pyload/', include('pyload.foo.urls')),
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
- # Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
- #(r'^json/', include(ajax.urls)),
+ (r'^json/', include('ajax.urls')),
+ (r'^favicon\.ico$', 'django.views.generic.simple.redirect_to', {'url': '/media/img/favicon.ico'}),
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT}),
- (r'^login/$', 'django.contrib.auth.views.login', {'template_name': join(settings.TEMPLATE,'login.html')}),
- (r'^logout/$', 'django.contrib.auth.views.logout', {'template_name': join(settings.TEMPLATE,'logout.html')}),
- (r'^home/$', 'pyload.views.home'),
- (r'^downloads/$', 'pyload.views.downloads'),
- (r'^queue/$', 'pyload.views.queue'),
- (r'^logs/$', 'pyload.views.logs'),
- (r'^$', 'pyload.views.home'),
+ (r'^', include('pyload.urls')),
)