From b338ba60921c1f5f0fc8fcb6227b1d425d560783 Mon Sep 17 00:00:00 2001 From: rscnt Date: Sun, 4 Oct 2015 15:13:13 -0600 Subject: [PATCH 1/2] digitalglarus: cms navigation. Signed-off-by: rscnt --- templates/cms/digitalglarus/base.html | 38 +------------------ .../cms/digitalglarus/partials/menu.html | 37 ++++++++++++++++++ 2 files changed, 38 insertions(+), 37 deletions(-) create mode 100644 templates/cms/digitalglarus/partials/menu.html diff --git a/templates/cms/digitalglarus/base.html b/templates/cms/digitalglarus/base.html index d5d50456..64af3186 100644 --- a/templates/cms/digitalglarus/base.html +++ b/templates/cms/digitalglarus/base.html @@ -56,43 +56,7 @@ - + {% include "templates/cms/digitalglarus/partials/menu.html" %}
{% block content %} {% endblock %} diff --git a/templates/cms/digitalglarus/partials/menu.html b/templates/cms/digitalglarus/partials/menu.html new file mode 100644 index 00000000..8fbbb6ab --- /dev/null +++ b/templates/cms/digitalglarus/partials/menu.html @@ -0,0 +1,37 @@ +{% load menu_tags staticfiles cms_tags %} + + From 0827c6f2ffd9e9a47155b3c2d91504f45284e15b Mon Sep 17 00:00:00 2001 From: rscnt Date: Sun, 4 Oct 2015 15:20:39 -0600 Subject: [PATCH 2/2] digitalglarus: moving digital glarus static url. Signed-off-by: rscnt --- dynamicweb/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamicweb/urls.py b/dynamicweb/urls.py index b624498d..71ddc68f 100644 --- a/dynamicweb/urls.py +++ b/dynamicweb/urls.py @@ -8,7 +8,7 @@ from dynamicweb import settings from hosting.views import railshosting urlpatterns = [ - url(r'^digitalglarus/', include('digitalglarus.urls', + url(r'^digitalglarus_old/', include('digitalglarus.urls', namespace="digitalglarus")), url(r'^hosting/', include('hosting.urls', namespace="hosting")), url(r'^railshosting/', railshosting, name="rails.hosting"),