from django.conf.urls import url
from django.urls import include
from rest_framework.routers import DefaultRouter

from . import views


router = DefaultRouter()
router.register(r'courses', views.CourseViewSet)
router.register(r'classes', views.ClassViewSet)
router.register(r'lectors', views.LectorViewSet)

urlpatterns = router.urls
