from django.conf.urls import include, url
from rest_framework.urlpatterns import format_suffix_patterns
from . import views

urlpatterns = [
    url(r'^api/$', views.postList.as_view()),
    url(r'^api/(?P<pk>\d+)/$', views.postDetail.as_view()),
]

url = format_suffix_patterns(urlpatterns)
0df1e5dc32b0fe413098026a067ff1c84bfe1cce
<mask token>

<mask token>
urlpatterns = [url('^api/$', views.postList.as_view()), url(
    '^api/(?P<pk>\\d+)/$', views.postDetail.as_view())]
url = format_suffix_patterns(urlpatterns)

from django.conf.urls import include, url
from rest_framework.urlpatterns import format_suffix_patterns
from . import views
urlpatterns = [url('^api/$', views.postList.as_view()), url(
    '^api/(?P<pk>\\d+)/$', views.postDetail.as_view())]
url = format_suffix_patterns(urlpatterns)

from django.conf.urls import include, url
from rest_framework.urlpatterns import format_suffix_patterns
from . import views

urlpatterns = [
    url(r'^api/$', views.postList.as_view()),
    url(r'^api/(?P<pk>\d+)/$', views.postDetail.as_view()),
]

url = format_suffix_patterns(urlpatterns)