From a26a2ec1058949f361d14f90d4907fd7ce467652 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 10 Jun 2015 21:16:08 +0200 Subject: [PATCH] mount cms below cms - easier for nginx mapping Signed-off-by: Nico Schottelius --- dynamicweb/settings.py | 2 +- dynamicweb/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dynamicweb/settings.py b/dynamicweb/settings.py index c202900b..5ecb56b5 100644 --- a/dynamicweb/settings.py +++ b/dynamicweb/settings.py @@ -1,5 +1,5 @@ """ -Copyright 2015 Ungleich. +Copyright 2015 ungleich. """ # -*- coding: utf-8 -*- diff --git a/dynamicweb/urls.py b/dynamicweb/urls.py index cac02678..82b4c6f6 100644 --- a/dynamicweb/urls.py +++ b/dynamicweb/urls.py @@ -10,7 +10,7 @@ urlpatterns = [ namespace="digital_glarus")), url(r'^railshosting/', include('railshosting.urls', namespace="railshosting")), - url(r'^', include('cms.urls')), + url(r'^cms/', include('cms.urls')), url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)