from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^(\d+)$', views.blog_detail, name='blog_detail'),
    url(r'^category/(\d+)$', views.blog_category, name='blog_category'),
    url(r'^(\w+)$', views.blog_list, name='blog_list'),
    url(r'^$', views.blogs, name='blogs'),
    url(r'^(\d+)/edit$', views.blog_edit, name='blog_edit'),
    url(r'^delete/(\d+)$', views.blog_delete, name='blog_delete'),
    url(r'^userblog/(\d+)$', views.userblog, name='userblog'),
]
