Generateurv2/backend/api/exercices/urls.py
2022-05-18 10:15:54 +02:00

14 lines
436 B
Python

from django.urls import path
from .views import PDF, CSV_Generator, Editor, ExerciceAPI, TagsAPI, Test, ExoModelApi
urlpatterns = [
path('exercices/', ExerciceAPI.as_view()),
path('tags/', TagsAPI.as_view()),
path('editor/', Editor.as_view()),
path('test/', Test.as_view()),
path('csv/<str:code>', CSV_Generator.as_view()),
path('pdf/', PDF.as_view()),
path('model/', ExoModelApi.as_view()),
]