summaryrefslogtreecommitdiffstats
path: root/module/web/urls.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-25 18:22:27 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-25 18:22:27 +0200
commit29f9dc8fb3396b03d732ebcbeb1cc8f00fe13897 (patch)
treef2a910cbea747a7b0c0a50d6c66691e54f5ef47f /module/web/urls.py
parentmerged gui (diff)
downloadpyload-29f9dc8fb3396b03d732ebcbeb1cc8f00fe13897.tar.xz
new dirs
Diffstat (limited to 'module/web/urls.py')
-rw-r--r--module/web/urls.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/module/web/urls.py b/module/web/urls.py
new file mode 100644
index 000000000..9fe11f925
--- /dev/null
+++ b/module/web/urls.py
@@ -0,0 +1,26 @@
+# -*- coding: utf-8 -*-
+from django.conf.urls.defaults import *
+from django.contrib import admin
+from django.conf import settings
+
+
+admin.autodiscover()
+
+urlpatterns = patterns('',
+ # Example:
+
+ # 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')),
+
+ (r'^admin/', include(admin.site.urls)), # django 1.0 not working
+ (r'^json/', include('ajax.urls')),
+ (r'^flashgot$', 'cnl.views.flashgot'),
+ (r'^flash(got)?/?', include('cnl.urls')),
+ (r'^crossdomain.xml$', 'cnl.views.crossdomain'),
+ (r'^jdcheck.js', 'cnl.views.jdcheck'),
+ (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'^', include('pyload.urls')),
+ )