urls.py 244 B

123456789101112
  1. from django.conf.urls import url
  2. from rest_framework_bulk.routes import BulkRouter
  3. from workTtree.views import SchoolDeptViews
  4. router = BulkRouter()
  5. urlpatterns = router.urls
  6. urlpatterns += [
  7. url(r'^tree/', SchoolDeptViews.as_view())
  8. ]