urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^', include('blog.urls')),
]
urlpatterns = [
url(r'^post/(?P<id>\d+)/$', views.valpost, name='valpost'),
url(r'^post/', views.detail, name='detail'),
url(r'^post/(?P<id>\d+)/edit/$', views.post_update, name='update'),
]
# url(r'^post/', views.detail, name='detail'),
url(r'^post/$', views.detail, name='detail'),
url(r'^post/admin/', include('post_admin.urls')),
url(r'^post/', include('post.urls')),