new_contents: from django.conf.urls import url, include
  from rest_framework import routers
  from views import PhotoViewSet
  
  
  router = routers.DefaultRouter()
  router.register(r'photos', PhotoViewSet)
  
  urlpatterns = [
      url(r'^', include(router.urls)),
      url(r'api-auth/', include('rest_framework.urls', namespace='rest_framework'))
  ]
  
subject: add empty line at end