123456789101112 |
- from rest_framework_bulk.routes import BulkRouter
- from django.conf.urls import url
- from basic.views import MenuView, StatisticsView
- router = BulkRouter()
- router.register(r'menu', MenuView)
- urlpatterns = router.urls
- urlpatterns += [
- url('statistics', StatisticsView.as_view())
- ]
|