digitalglarus: changes on urls
This commit is contained in:
parent
1b17e2aac1
commit
a4c3c341a3
2 changed files with 7 additions and 7 deletions
|
@ -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<slug>\w[-\w]*)/$', views.blog_detail, name='blog-detail'),
|
||||
]
|
||||
|
|
|
@ -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')),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue