old_contents: from django.conf.urls import include, url
  
  from dynamic_rest.routers import DynamicRouter
  from tests import viewsets
  
  router = DynamicRouter()
  router.register_resource(viewsets.UserViewSet)
  router.register_resource(viewsets.GroupViewSet)
  router.register_resource(viewsets.ProfileViewSet)
  router.register_resource(viewsets.LocationViewSet)
  
  router.register(r'cats', viewsets.CatViewSet)
  router.register_resource(viewsets.DogViewSet)
  router.register_resource(viewsets.HorseViewSet)
  router.register_resource(viewsets.PermissionViewSet)
  router.register(r'zebras', viewsets.ZebraViewSet)  # not canonical
  router.register(r'user_locations', viewsets.UserLocationViewSet)
  
  # the above routes are duplicated to test versioned prefixes
  router.register_resource(viewsets.CatViewSet, namespace='v2')  # canonical
  router.register(r'v1/user_locations', viewsets.UserLocationViewSet)
  
  urlpatterns = (
      url(r'^', include(router.urls)),
  )
  
new_contents: from django.conf.urls import include, url
  
  from dynamic_rest.routers import DynamicRouter
  from tests import viewsets
  
  router = DynamicRouter()
  router.register_resource(viewsets.UserViewSet)
  router.register_resource(viewsets.GroupViewSet)
  router.register_resource(viewsets.ProfileViewSet)
  router.register_resource(viewsets.LocationViewSet)
  
  router.register(r'cats', viewsets.CatViewSet)
  router.register_resource(viewsets.DogViewSet)
  router.register_resource(viewsets.HorseViewSet)
  router.register_resource(viewsets.PermissionViewSet)
  router.register(r'zebras', viewsets.ZebraViewSet)  # not canonical
  router.register(r'user_locations', viewsets.UserLocationViewSet)
  
  # the above routes are duplicated to test versioned prefixes
  router.register_resource(viewsets.CatViewSet, namespace='v2')  # canonical
  router.register(r'v1/user_locations', viewsets.UserLocationViewSet)
  
  urlpatterns = [
      url(r'^', include(router.urls))
  ]
  
subject: make urlpatterns list (not tuple)