14 lines
380 B
Python
14 lines
380 B
Python
|
from django.urls import path, include
|
||
|
from rest_framework import routers
|
||
|
from .views import LevelViewSet, StandardsViewSet
|
||
|
from . import views
|
||
|
|
||
|
router = routers.DefaultRouter()
|
||
|
router.register(r'levels', LevelViewSet)
|
||
|
router.register(r'standards', StandardsViewSet)
|
||
|
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('', include(router.urls)),
|
||
|
path('get_input/', views.get_input, name='get_input'),
|
||
|
]
|