diff --git a/digitalglarus/urls.py b/digitalglarus/urls.py index 412ad051..44d881e0 100644 --- a/digitalglarus/urls.py +++ b/digitalglarus/urls.py @@ -3,11 +3,11 @@ from django.conf.urls import url from . import views urlpatterns = [ - url(r'^$', views.index, name='index'), - url(r'_about$', views.about, name='about'), - url(r'_contact$', views.contact, name='contact'), - url(r'_letscowork$', views.letscowork, name='letscowork'), - url(r'_home$', views.home, name='home'), + url(r'old^$', views.index, name='index'), + url(r'old_about$', views.about, name='about'), + url(r'old_contact$', views.contact, name='contact'), + url(r'old_letscowork$', views.letscowork, name='letscowork'), + url(r'old_home$', views.home, name='home'), url(r'blog/$', views.blog, name='blog'), url(r'^blog/(?P\w[-\w]*)/$', views.blog_detail, name='blog-detail'), ] diff --git a/dynamicweb/urls.py b/dynamicweb/urls.py index b624498d..10291fac 100644 --- a/dynamicweb/urls.py +++ b/dynamicweb/urls.py @@ -8,8 +8,6 @@ from dynamicweb import settings from hosting.views import railshosting urlpatterns = [ - url(r'^digitalglarus/', include('digitalglarus.urls', - namespace="digitalglarus")), url(r'^hosting/', include('hosting.urls', namespace="hosting")), url(r'^railshosting/', railshosting, name="rails.hosting"), url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')), @@ -20,6 +18,8 @@ urlpatterns = [ # note the django CMS URLs included via i18n_patterns urlpatterns += i18n_patterns('', url(r'^admin/', include(admin.site.urls)), + url(r'^digitalglarus/', include('digitalglarus.urls', + namespace="digitalglarus")), url(r'^', include('cms.urls')), )