diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/urls.py b/urls.py deleted file mode 100644 index 26aa007..0000000 --- a/urls.py +++ /dev/null @@ -1,21 +0,0 @@ -from django.conf.urls.defaults import * -from settings import DEPLOY_PATH, DEBUG - -# Uncomment the next two lines to enable the admin: -from django.contrib import admin -admin.autodiscover() - -urlpatterns = patterns('', - (r'^blog/', include("blog.urls")), - (r'^admin/', include(admin.site.urls)), - (r'^', include("main.urls")), -) - -if DEBUG: - urlpatterns += patterns('', - (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '%s/static' % DEPLOY_PATH}) - ) - -urlpatterns += patterns('', - (r'^', include("pages.urls")) -) |