diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-25 16:48:55 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-25 16:48:55 +0200 |
commit | 3c9f55270a83b0e88ec0dc516f9d9921e4d7b6ea (patch) | |
tree | c5b2b1bfeb7eb8df2b97be118f6cbcec4e29cb3b /core/module/web/urls.py | |
parent | ul.to fetching, so.biz expire (diff) | |
download | pyload-3c9f55270a83b0e88ec0dc516f9d9921e4d7b6ea.tar.xz |
merged gui
Diffstat (limited to 'core/module/web/urls.py')
-rw-r--r-- | core/module/web/urls.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/core/module/web/urls.py b/core/module/web/urls.py new file mode 100644 index 000000000..9fe11f925 --- /dev/null +++ b/core/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')), + ) |