From 46ce08909da02fa2b309c9581b1de8d7266c8bcf Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 10 Jun 2015 21:16:08 +0200 Subject: [PATCH 1/5] 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) From 71823b12c8c8dad07819cb67eb66394da03156c1 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 10 Jun 2015 23:13:12 +0200 Subject: [PATCH 2/5] move djangocms-text-ckeditor to 2.5.2 to work with migrations Signed-off-by: Nico Schottelius --- stable_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable_requirements.txt b/stable_requirements.txt index 9b5ff470..09813a68 100644 --- a/stable_requirements.txt +++ b/stable_requirements.txt @@ -25,7 +25,7 @@ django-cms==3.1.0 # django-cms-plugins djangocms-admin-style==0.2.5 -djangocms-text-ckeditor==2.4.3 +djangocms-text-ckeditor==2.5.2 djangocms-blog==0.4.0 djangocms-flash==0.2.0 From c93b044bf072a8dc2cd412759a457153170d66c6 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 10 Jun 2015 23:28:24 +0200 Subject: [PATCH 3/5] remove duplicate django entry Signed-off-by: Nico Schottelius --- stable_requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/stable_requirements.txt b/stable_requirements.txt index 09813a68..970a30ef 100644 --- a/stable_requirements.txt +++ b/stable_requirements.txt @@ -55,7 +55,6 @@ aldryn-common==0.1.3 aldryn-search==0.2.7 anyjson==0.3.3 cssselect==0.9.1 -Django==1.7.8 django-admin-enhancer==1.0.0 django-appconf==1.0.1 django-appdata==0.1.4 From da0ece6d63993f32751cf864c63f58d32598f8c7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 10 Jun 2015 23:34:33 +0200 Subject: [PATCH 4/5] digital_glarus -> digitalglarus Signed-off-by: Nico Schottelius --- {digital_glarus => digitalglarus}/__init__.py | 0 {digital_glarus => digitalglarus}/admin.py | 0 .../migrations/0001_initial.py | 0 .../migrations/0002_auto_20150522_0450.py | 2 +- .../migrations/0002_auto_20150527_1023.py | 2 +- .../migrations/0003_merge.py | 4 ++-- .../migrations/__init__.py | 0 {digital_glarus => digitalglarus}/models.py | 0 .../static/digitalglarus}/css/bootstrap.css | 0 .../digitalglarus}/css/bootstrap.min.css | 0 .../digitalglarus}/css/business-casual.css | 0 .../static/digitalglarus}/img/bg.jpg | Bin .../static/digitalglarus}/img/img_1.jpg | Bin .../static/digitalglarus}/img/img_2.jpg | Bin .../static/digitalglarus}/img/img_3.jpg | Bin .../static/digitalglarus}/img/img_4.png | Bin .../static/digitalglarus}/img/intro-pic.jpg | Bin .../static/digitalglarus}/img/slide-1.jpg | Bin .../static/digitalglarus}/img/slide-2.jpg | Bin .../static/digitalglarus}/img/slide-3.jpg | Bin .../static/digitalglarus}/js/bootstrap.js | 0 .../static/digitalglarus}/js/bootstrap.min.js | 0 .../static/digitalglarus}/js/jquery.js | 0 .../templates/digitalglarus}/about.html | 10 +++++----- .../templates/digitalglarus}/base.html | 14 +++++++------- .../templates/digitalglarus}/contact.html | 4 ++-- .../templates/digitalglarus}/detail.html | 2 +- .../templates/digitalglarus}/index.html | 10 +++++----- .../index.html-full-index-plus-template | 18 +++++++++--------- .../templates/digitalglarus}/index.html-orig | 2 +- {digital_glarus => digitalglarus}/tests.py | 0 {digital_glarus => digitalglarus}/urls.py | 0 {digital_glarus => digitalglarus}/views.py | 10 +++++----- dynamicweb/settings.py | 2 +- dynamicweb/urls.py | 4 ++-- 35 files changed, 42 insertions(+), 42 deletions(-) rename {digital_glarus => digitalglarus}/__init__.py (100%) rename {digital_glarus => digitalglarus}/admin.py (100%) rename {digital_glarus => digitalglarus}/migrations/0001_initial.py (100%) rename {digital_glarus => digitalglarus}/migrations/0002_auto_20150522_0450.py (89%) rename {digital_glarus => digitalglarus}/migrations/0002_auto_20150527_1023.py (88%) rename {digital_glarus => digitalglarus}/migrations/0003_merge.py (64%) rename {digital_glarus => digitalglarus}/migrations/__init__.py (100%) rename {digital_glarus => digitalglarus}/models.py (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/css/bootstrap.css (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/css/bootstrap.min.css (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/css/business-casual.css (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/bg.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/img_1.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/img_2.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/img_3.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/img_4.png (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/intro-pic.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/slide-1.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/slide-2.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/img/slide-3.jpg (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/js/bootstrap.js (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/js/bootstrap.min.js (100%) rename {digital_glarus/static/digital_glarus => digitalglarus/static/digitalglarus}/js/jquery.js (100%) rename {digital_glarus/templates/digital_glarus => digitalglarus/templates/digitalglarus}/about.html (92%) rename {digital_glarus/templates/digital_glarus => digitalglarus/templates/digitalglarus}/base.html (86%) rename {digital_glarus/templates/digital_glarus => digitalglarus/templates/digitalglarus}/contact.html (96%) rename {digital_glarus/templates/digital_glarus => digitalglarus/templates/digitalglarus}/detail.html (75%) rename {digital_glarus/templates/digital_glarus => digitalglarus/templates/digitalglarus}/index.html (95%) rename {digital_glarus/templates/digital_glarus => digitalglarus/templates/digitalglarus}/index.html-full-index-plus-template (93%) rename {digital_glarus/templates/digital_glarus => digitalglarus/templates/digitalglarus}/index.html-orig (87%) rename {digital_glarus => digitalglarus}/tests.py (100%) rename {digital_glarus => digitalglarus}/urls.py (100%) rename {digital_glarus => digitalglarus}/views.py (73%) diff --git a/digital_glarus/__init__.py b/digitalglarus/__init__.py similarity index 100% rename from digital_glarus/__init__.py rename to digitalglarus/__init__.py diff --git a/digital_glarus/admin.py b/digitalglarus/admin.py similarity index 100% rename from digital_glarus/admin.py rename to digitalglarus/admin.py diff --git a/digital_glarus/migrations/0001_initial.py b/digitalglarus/migrations/0001_initial.py similarity index 100% rename from digital_glarus/migrations/0001_initial.py rename to digitalglarus/migrations/0001_initial.py diff --git a/digital_glarus/migrations/0002_auto_20150522_0450.py b/digitalglarus/migrations/0002_auto_20150522_0450.py similarity index 89% rename from digital_glarus/migrations/0002_auto_20150522_0450.py rename to digitalglarus/migrations/0002_auto_20150522_0450.py index 29c9bfae..2a46f0fa 100644 --- a/digital_glarus/migrations/0002_auto_20150522_0450.py +++ b/digitalglarus/migrations/0002_auto_20150522_0450.py @@ -7,7 +7,7 @@ from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ - ('digital_glarus', '0001_initial'), + ('digitalglarus', '0001_initial'), ] operations = [ diff --git a/digital_glarus/migrations/0002_auto_20150527_1023.py b/digitalglarus/migrations/0002_auto_20150527_1023.py similarity index 88% rename from digital_glarus/migrations/0002_auto_20150527_1023.py rename to digitalglarus/migrations/0002_auto_20150527_1023.py index 79a8f653..dcda5b44 100644 --- a/digital_glarus/migrations/0002_auto_20150527_1023.py +++ b/digitalglarus/migrations/0002_auto_20150527_1023.py @@ -7,7 +7,7 @@ from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ - ('digital_glarus', '0001_initial'), + ('digitalglarus', '0001_initial'), ] operations = [ diff --git a/digital_glarus/migrations/0003_merge.py b/digitalglarus/migrations/0003_merge.py similarity index 64% rename from digital_glarus/migrations/0003_merge.py rename to digitalglarus/migrations/0003_merge.py index 49e26d1c..994a03ea 100644 --- a/digital_glarus/migrations/0003_merge.py +++ b/digitalglarus/migrations/0003_merge.py @@ -7,8 +7,8 @@ from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ - ('digital_glarus', '0002_auto_20150522_0450'), - ('digital_glarus', '0002_auto_20150527_1023'), + ('digitalglarus', '0002_auto_20150522_0450'), + ('digitalglarus', '0002_auto_20150527_1023'), ] operations = [ diff --git a/digital_glarus/migrations/__init__.py b/digitalglarus/migrations/__init__.py similarity index 100% rename from digital_glarus/migrations/__init__.py rename to digitalglarus/migrations/__init__.py diff --git a/digital_glarus/models.py b/digitalglarus/models.py similarity index 100% rename from digital_glarus/models.py rename to digitalglarus/models.py diff --git a/digital_glarus/static/digital_glarus/css/bootstrap.css b/digitalglarus/static/digitalglarus/css/bootstrap.css similarity index 100% rename from digital_glarus/static/digital_glarus/css/bootstrap.css rename to digitalglarus/static/digitalglarus/css/bootstrap.css diff --git a/digital_glarus/static/digital_glarus/css/bootstrap.min.css b/digitalglarus/static/digitalglarus/css/bootstrap.min.css similarity index 100% rename from digital_glarus/static/digital_glarus/css/bootstrap.min.css rename to digitalglarus/static/digitalglarus/css/bootstrap.min.css diff --git a/digital_glarus/static/digital_glarus/css/business-casual.css b/digitalglarus/static/digitalglarus/css/business-casual.css similarity index 100% rename from digital_glarus/static/digital_glarus/css/business-casual.css rename to digitalglarus/static/digitalglarus/css/business-casual.css diff --git a/digital_glarus/static/digital_glarus/img/bg.jpg b/digitalglarus/static/digitalglarus/img/bg.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/bg.jpg rename to digitalglarus/static/digitalglarus/img/bg.jpg diff --git a/digital_glarus/static/digital_glarus/img/img_1.jpg b/digitalglarus/static/digitalglarus/img/img_1.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/img_1.jpg rename to digitalglarus/static/digitalglarus/img/img_1.jpg diff --git a/digital_glarus/static/digital_glarus/img/img_2.jpg b/digitalglarus/static/digitalglarus/img/img_2.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/img_2.jpg rename to digitalglarus/static/digitalglarus/img/img_2.jpg diff --git a/digital_glarus/static/digital_glarus/img/img_3.jpg b/digitalglarus/static/digitalglarus/img/img_3.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/img_3.jpg rename to digitalglarus/static/digitalglarus/img/img_3.jpg diff --git a/digital_glarus/static/digital_glarus/img/img_4.png b/digitalglarus/static/digitalglarus/img/img_4.png similarity index 100% rename from digital_glarus/static/digital_glarus/img/img_4.png rename to digitalglarus/static/digitalglarus/img/img_4.png diff --git a/digital_glarus/static/digital_glarus/img/intro-pic.jpg b/digitalglarus/static/digitalglarus/img/intro-pic.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/intro-pic.jpg rename to digitalglarus/static/digitalglarus/img/intro-pic.jpg diff --git a/digital_glarus/static/digital_glarus/img/slide-1.jpg b/digitalglarus/static/digitalglarus/img/slide-1.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/slide-1.jpg rename to digitalglarus/static/digitalglarus/img/slide-1.jpg diff --git a/digital_glarus/static/digital_glarus/img/slide-2.jpg b/digitalglarus/static/digitalglarus/img/slide-2.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/slide-2.jpg rename to digitalglarus/static/digitalglarus/img/slide-2.jpg diff --git a/digital_glarus/static/digital_glarus/img/slide-3.jpg b/digitalglarus/static/digitalglarus/img/slide-3.jpg similarity index 100% rename from digital_glarus/static/digital_glarus/img/slide-3.jpg rename to digitalglarus/static/digitalglarus/img/slide-3.jpg diff --git a/digital_glarus/static/digital_glarus/js/bootstrap.js b/digitalglarus/static/digitalglarus/js/bootstrap.js similarity index 100% rename from digital_glarus/static/digital_glarus/js/bootstrap.js rename to digitalglarus/static/digitalglarus/js/bootstrap.js diff --git a/digital_glarus/static/digital_glarus/js/bootstrap.min.js b/digitalglarus/static/digitalglarus/js/bootstrap.min.js similarity index 100% rename from digital_glarus/static/digital_glarus/js/bootstrap.min.js rename to digitalglarus/static/digitalglarus/js/bootstrap.min.js diff --git a/digital_glarus/static/digital_glarus/js/jquery.js b/digitalglarus/static/digitalglarus/js/jquery.js similarity index 100% rename from digital_glarus/static/digital_glarus/js/jquery.js rename to digitalglarus/static/digitalglarus/js/jquery.js diff --git a/digital_glarus/templates/digital_glarus/about.html b/digitalglarus/templates/digitalglarus/about.html similarity index 92% rename from digital_glarus/templates/digital_glarus/about.html rename to digitalglarus/templates/digitalglarus/about.html index 08a8494e..b485a903 100755 --- a/digital_glarus/templates/digital_glarus/about.html +++ b/digitalglarus/templates/digitalglarus/about.html @@ -1,4 +1,4 @@ -{% extends "digital_glarus/base.html" %} +{% extends "digitalglarus/base.html" %} {% load staticfiles %} {% block title %}About{% endblock %} @@ -13,7 +13,7 @@
- +

We, the ungleich GmbH, were founded 2013 in Switzerland - however our first incarnation in Germany dates back to 2000. @@ -33,18 +33,18 @@


- +

BEAUTIFUL landscape

- +

AFFORDABLE price

- +

direct connection to zurich

diff --git a/digital_glarus/templates/digital_glarus/base.html b/digitalglarus/templates/digitalglarus/base.html similarity index 86% rename from digital_glarus/templates/digital_glarus/base.html rename to digitalglarus/templates/digitalglarus/base.html index c31838b0..94e0748b 100644 --- a/digital_glarus/templates/digital_glarus/base.html +++ b/digitalglarus/templates/digitalglarus/base.html @@ -14,10 +14,10 @@ Digital.Glarus - {% block title %}Welcome{% endblock %} - + - + @@ -64,13 +64,13 @@ @@ -95,10 +95,10 @@ - + - +