17 lines
598 B
Python
17 lines
598 B
Python
from django.urls import path
|
|
from .views import PDF, CSV_Generator, Editor, ExerciceAPI, TagsAPI, Test, ExoModelApi, fav, getExoModelFile, getPublicList, getUserExosList, pdfGen
|
|
|
|
|
|
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/', pdfGen),
|
|
path('fav/', fav),
|
|
path('model/', getExoModelFile),
|
|
path('exercices/public', getPublicList),
|
|
path('exercices/user', getUserExosList),
|
|
]
|