text: from django.conf.urls import url, include
  from rest_framework.urlpatterns import format_suffix_patterns
  from rest_framework.authtoken.views import obtain_auth_token
  
  
  from .views import CreateView, DetailsView,\
      UserView, UserDetailsView, BucketListItemsView
  
  
  urlpatterns = {
      url(r'^auth/', include('rest_framework.urls',
                             namespace='rest_framework')),
      url(r'^bucketlists/$', CreateView.as_view(), name="create"),
      url(r'^bucketlists/(?P<pk>[0-9]+)/$',
          DetailsView.as_view(), name="details"),
      url(r'^users/$', UserView.as_view(), name="users"),
      url(r'users/(?P<pk>[0-9]+)/$',
          UserDetailsView.as_view(), name="user_details"),
      url(r'^get-token/', obtain_auth_token),
      url(r'^bucketlists/(?P<pk>[0-9]+)/items/$',
          BucketListItemsView.as_view(), name="create_item"),
  }
  
  urlpatterns = format_suffix_patterns(urlpatterns)
  