from django.conf.urls import url
from django.contrib import admin
from blog.views import (
	PostListAPIView, 
	PostShowAPIView, 
	PostCreateAPIView, 
	CommentCreateAPIView
	)

urlpatterns = [
	url(r'^$', PostListAPIView.as_view() ,name='list_blog'),
    url(r'^add/$', PostCreateAPIView.as_view() , name='add_blog'),
    url(r'^(?P<id>[\w-]+)/$', PostShowAPIView.as_view(), name='show_blog'),
    url(r'^(?P<id>[\w-]+)/add_comment/$', CommentCreateAPIView.as_view(), name='add_comment'), 
]
b5c6394e5d07e11531cfa688001362df761b92de
<mask token>

<mask token>
urlpatterns = [url('^$', PostListAPIView.as_view(), name='list_blog'), url(
    '^add/$', PostCreateAPIView.as_view(), name='add_blog'), url(
    '^(?P<id>[\\w-]+)/$', PostShowAPIView.as_view(), name='show_blog'), url
    ('^(?P<id>[\\w-]+)/add_comment/$', CommentCreateAPIView.as_view(), name
    ='add_comment')]

from django.conf.urls import url
from django.contrib import admin
from blog.views import PostListAPIView, PostShowAPIView, PostCreateAPIView, CommentCreateAPIView
urlpatterns = [url('^$', PostListAPIView.as_view(), name='list_blog'), url(
    '^add/$', PostCreateAPIView.as_view(), name='add_blog'), url(
    '^(?P<id>[\\w-]+)/$', PostShowAPIView.as_view(), name='show_blog'), url
    ('^(?P<id>[\\w-]+)/add_comment/$', CommentCreateAPIView.as_view(), name
    ='add_comment')]

from django.conf.urls import url
from django.contrib import admin
from blog.views import (
	PostListAPIView, 
	PostShowAPIView, 
	PostCreateAPIView, 
	CommentCreateAPIView
	)

urlpatterns = [
	url(r'^$', PostListAPIView.as_view() ,name='list_blog'),
    url(r'^add/$', PostCreateAPIView.as_view() , name='add_blog'),
    url(r'^(?P<id>[\w-]+)/$', PostShowAPIView.as_view(), name='show_blog'),
    url(r'^(?P<id>[\w-]+)/add_comment/$', CommentCreateAPIView.as_view(), name='add_comment'), 
]