digitalglarus: fix urls for blog.

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-10-04 15:38:53 -06:00
parent 50e0cb9a71
commit 1b17e2aac1
2 changed files with 5 additions and 5 deletions

View file

@ -4,10 +4,10 @@ from . import views
urlpatterns = [ urlpatterns = [
url(r'^$', views.index, name='index'), url(r'^$', views.index, name='index'),
url(r'about$', views.about, name='about'), url(r'_about$', views.about, name='about'),
url(r'contact$', views.contact, name='contact'), url(r'_contact$', views.contact, name='contact'),
url(r'letscowork$', views.letscowork, name='letscowork'), url(r'_letscowork$', views.letscowork, name='letscowork'),
url(r'home$', views.home, name='home'), url(r'_home$', views.home, name='home'),
url(r'blog/$', views.blog, name='blog'), url(r'blog/$', views.blog, name='blog'),
url(r'^blog/(?P<slug>\w[-\w]*)/$', views.blog_detail, name='blog-detail'), url(r'^blog/(?P<slug>\w[-\w]*)/$', views.blog_detail, name='blog-detail'),
] ]

View file

@ -8,7 +8,7 @@ from dynamicweb import settings
from hosting.views import railshosting from hosting.views import railshosting
urlpatterns = [ urlpatterns = [
url(r'^digitalglarus_old/', include('digitalglarus.urls', url(r'^digitalglarus/', include('digitalglarus.urls',
namespace="digitalglarus")), namespace="digitalglarus")),
url(r'^hosting/', include('hosting.urls', namespace="hosting")), url(r'^hosting/', include('hosting.urls', namespace="hosting")),
url(r'^railshosting/', railshosting, name="rails.hosting"), url(r'^railshosting/', railshosting, name="rails.hosting"),