2022-05-18 10:15:54 +02:00
|
|
|
from django.urls import path
|
2022-06-24 13:42:16 +02:00
|
|
|
from .views import PDF, CSV_Generator, Editor, ExerciceAPI, TagsAPI, Test, ExoModelApi, fav, getExoModelFile, getPublicList, getUserExosList, pdfGen
|
2022-05-18 10:15:54 +02:00
|
|
|
|
|
|
|
|
|
|
|
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()),
|
2022-06-24 13:42:16 +02:00
|
|
|
path('pdf/', pdfGen),
|
2022-06-11 23:39:03 +02:00
|
|
|
path('fav/', fav),
|
|
|
|
path('model/', getExoModelFile),
|
|
|
|
path('exercices/public', getPublicList),
|
|
|
|
path('exercices/user', getUserExosList),
|
2022-05-18 10:15:54 +02:00
|
|
|
]
|