Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
666 B
16 lines
666 B
4 years ago
|
from rest_framework import routers
|
||
3 years ago
|
from treenode import viewsets as vs
|
||
4 years ago
|
|
||
|
router = routers.DefaultRouter()
|
||
|
|
||
4 years ago
|
router.register(r'ulohavzoraknode', vs.UlohaVzorakNodeViewSet,basename='ulohavzoraknode')
|
||
4 years ago
|
router.register(r'reseninode', vs.ReseniNodeViewSet,basename='reseninode')
|
||
4 years ago
|
router.register(r'text', vs.TextViewSet)
|
||
|
router.register(r'textnode', vs.TextNodeViewSet)
|
||
4 years ago
|
router.register(r'castnode', vs.CastNodeViewSet)
|
||
4 years ago
|
router.register(r'problem', vs.ProblemViewSet, basename='problem')
|
||
4 years ago
|
router.register(r'uloha', vs.UlohaViewSet, basename='uloha')
|
||
4 years ago
|
router.register(r'reseni', vs.ReseniViewSet, basename='reseni')
|
||
4 years ago
|
router.register(r'ulohazadaninode', vs.UlohaZadaniNodeViewSet)
|
||
4 years ago
|
|