Removed title and slug field from blogpost model and db

This commit is contained in:
2016-02-25 09:37:03 +01:00
parent 5b033803a8
commit 62ec42297d
9 changed files with 14 additions and 43 deletions

View File

@@ -18,7 +18,6 @@ urlpatterns = patterns('',
url(r'^accounts/', include('django.contrib.auth.urls')),
url(r'^blog/newpost$', 'tipp.views.newBlogpost'),
url(r'^blog/(?P<page>\d)$', 'tipp.views.blogindex'),
url(r'^blog/(?P<slug>[\w\-]+)', 'tipp.views.blogpost'),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),