This commit is contained in:
Fergal Moran
2015-11-08 19:17:18 +00:00
parent fcfc1044c0
commit 2c38baf18a
16 changed files with 197 additions and 39 deletions

7
spa/blog/urls.py Executable file
View File

@@ -0,0 +1,7 @@
from django.conf.urls import patterns, url
urlpatterns = patterns(
'',
url(r'^blog/(?P<slug>[\w\d_.-]+)/?$', 'spa.blog.views.entry', name='blog_entry_slug'),
url(r'^$', 'spa.blog.views.index', name='blog_index')
)