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

urlpatterns = [
	
	url(r'^$',views.ApiRoot.as_view(),name=views.ApiRoot.name),

	url(r'^users/$',views.UserList.as_view(),name=views.UserList.name),
	url(r'^users/(?P<pk>\d+)/$',views.UserDetail.as_view(),name=views.UserDetail.name),

	url(r'^profiles/$',views.ProfileList.as_view(),name=views.ProfileList.name),
	url(r'^profiles/(?P<pk>\d+)/$',views.ProfileDetail.as_view(),name=views.ProfileDetail.name),

	url(r'^posts/$',views.PostList.as_view(),name=views.PostList.name),
	url(r'^posts/(?P<pk>\d+)/$',views.PostDetail.as_view(),name=views.PostDetail.name),

	url(r'^comments/$',views.CommentList.as_view(),name=views.CommentList.name),
	url(r'^comments/(?P<pk>\d+)/$',views.CommentDetail.as_view(),name=views.CommentDetail.name),


]

e0e995f1864eb92a9c5e236173afd2f41850b387
<mask token>

<mask token>
urlpatterns = [url('^$', views.ApiRoot.as_view(), name=views.ApiRoot.name),
    url('^users/$', views.UserList.as_view(), name=views.UserList.name),
    url('^users/(?P<pk>\\d+)/$', views.UserDetail.as_view(), name=views.
    UserDetail.name), url('^profiles/$', views.ProfileList.as_view(), name=
    views.ProfileList.name), url('^profiles/(?P<pk>\\d+)/$', views.
    ProfileDetail.as_view(), name=views.ProfileDetail.name), url('^posts/$',
    views.PostList.as_view(), name=views.PostList.name), url(
    '^posts/(?P<pk>\\d+)/$', views.PostDetail.as_view(), name=views.
    PostDetail.name), url('^comments/$', views.CommentList.as_view(), name=
    views.CommentList.name), url('^comments/(?P<pk>\\d+)/$', views.
    CommentDetail.as_view(), name=views.CommentDetail.name)]

from django.conf.urls import url
from blog import views
urlpatterns = [url('^$', views.ApiRoot.as_view(), name=views.ApiRoot.name),
    url('^users/$', views.UserList.as_view(), name=views.UserList.name),
    url('^users/(?P<pk>\\d+)/$', views.UserDetail.as_view(), name=views.
    UserDetail.name), url('^profiles/$', views.ProfileList.as_view(), name=
    views.ProfileList.name), url('^profiles/(?P<pk>\\d+)/$', views.
    ProfileDetail.as_view(), name=views.ProfileDetail.name), url('^posts/$',
    views.PostList.as_view(), name=views.PostList.name), url(
    '^posts/(?P<pk>\\d+)/$', views.PostDetail.as_view(), name=views.
    PostDetail.name), url('^comments/$', views.CommentList.as_view(), name=
    views.CommentList.name), url('^comments/(?P<pk>\\d+)/$', views.
    CommentDetail.as_view(), name=views.CommentDetail.name)]

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

urlpatterns = [
	
	url(r'^$',views.ApiRoot.as_view(),name=views.ApiRoot.name),

	url(r'^users/$',views.UserList.as_view(),name=views.UserList.name),
	url(r'^users/(?P<pk>\d+)/$',views.UserDetail.as_view(),name=views.UserDetail.name),

	url(r'^profiles/$',views.ProfileList.as_view(),name=views.ProfileList.name),
	url(r'^profiles/(?P<pk>\d+)/$',views.ProfileDetail.as_view(),name=views.ProfileDetail.name),

	url(r'^posts/$',views.PostList.as_view(),name=views.PostList.name),
	url(r'^posts/(?P<pk>\d+)/$',views.PostDetail.as_view(),name=views.PostDetail.name),

	url(r'^comments/$',views.CommentList.as_view(),name=views.CommentList.name),
	url(r'^comments/(?P<pk>\d+)/$',views.CommentDetail.as_view(),name=views.CommentDetail.name),


]
