mount cms below cms - easier for nginx mapping

Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
Nico Schottelius 2015-06-10 21:16:08 +02:00
parent 7066e190e8
commit a26a2ec105
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
""" """
Copyright 2015 Ungleich. Copyright 2015 ungleich.
""" """
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-

View file

@ -10,7 +10,7 @@ urlpatterns = [
namespace="digital_glarus")), namespace="digital_glarus")),
url(r'^railshosting/', include('railshosting.urls', url(r'^railshosting/', include('railshosting.urls',
namespace="railshosting")), namespace="railshosting")),
url(r'^', include('cms.urls')), url(r'^cms/', include('cms.urls')),
url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')), url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)