urls.py 192 B

1234567891011
  1. # coding=utf-8
  2. from rest_framework.routers import SimpleRouter
  3. from .views import *
  4. urlpatterns = [
  5. ]
  6. router = SimpleRouter()
  7. router.register(r'', TenantViewSet)
  8. urlpatterns += router.urls