Select Git revision
jupyter-notebook
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
urls.py 357 B
from django.urls import path, include
from . import views
from rest_framework import routers
# Routers provide an easy way of automatically determining the URL conf.
router = routers.DefaultRouter()
router.register(r'question', views.QuestionViewSet)
router.register(r'choice', views.ChoiceViewSet)
urlpatterns = [
path('', include(router.urls)),
]