from django.urls import path, include from rest_framework import routers from .views import LevelViewSet, StandardsViewSet, FileEventsViewSet from . import views router = routers.DefaultRouter() router.register(r'levels', LevelViewSet) router.register(r'standards', StandardsViewSet) router.register(r'fileEvents', FileEventsViewSet) urlpatterns = [ path('', include(router.urls)), path('level-submit/', views.levelSubmit, name='level-submit'), path('level-delete/', views.levelDelete, name='level-delete'), path('upload-standard/', views.upload_standard, name='upload-standard'), path('standard-delete/', views.standardDelete, name='standard-delete'), path('process-files/', views.processFiles, name='process-files'), path('api/', include('data_api.api.urls')), ]