text: from django.conf.urls import url, include
  from rest_framework.documentation import include_docs_urls
  from rest_framework.routers import DefaultRouter
  from rest_framework_swagger.views import get_swagger_view
  
  from snippets import views
  
  
  router = DefaultRouter()
  router.register(r'snippets', views.SnippetViewSet)
  router.register(r'users', views.UserViewSet)
  
  schema_view = get_swagger_view(title='Snippets API')
  
  urlpatterns = [
      url('^$', schema_view),
      url(r'^', include(router.urls)),
      url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
      url(r'^docs/', include_docs_urls(title='My API title'))
  ]
  