# python imports

# django imports
from django.conf.urls import url

# third party imports
from rest_framework.urlpatterns import format_suffix_patterns

# local imports
from snippets import views

urlpatterns = [
    url(r'^snippets/$', views.snippet_list),
    url(r'^snippets/(?P<pk>[0-9]+)/$', views.snippet_detail),
]

urlpatterns = format_suffix_patterns(urlpatterns)