replace drf by django-ninja

This commit is contained in:
thomas girod
2024-07-18 20:23:30 +02:00
parent d9531838f2
commit 3046438cb1
43 changed files with 1001 additions and 1191 deletions

View File

@ -78,7 +78,7 @@ INSTALLED_APPS = (
"django.contrib.sites",
"honeypot",
"django_jinja",
"rest_framework",
"ninja_extra",
"ajax_select",
"haystack",
"captcha",
@ -89,7 +89,6 @@ INSTALLED_APPS = (
"counter",
"eboutic",
"launderette",
"api",
"rootplace",
"sas",
"com",
@ -473,8 +472,8 @@ SITH_PEDAGOGY_UV_RESULT_GRADE = [
]
SITH_LOG_OPERATION_TYPE = [
(("SELLING_DELETION"), _("Selling deletion")),
(("REFILLING_DELETION"), _("Refilling deletion")),
("SELLING_DELETION", _("Selling deletion")),
("REFILLING_DELETION", _("Refilling deletion")),
]
SITH_PEDAGOGY_UTBM_API = "https://extranet1.utbm.fr/gpedago/api/guide"