mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
core/counter: add generic operation logs and implements it for Sellings and Refilling deletions
This commit is contained in:
@ -106,6 +106,7 @@ MIDDLEWARE = (
|
||||
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
||||
"django.middleware.security.SecurityMiddleware",
|
||||
"core.middleware.AuthenticationMiddleware",
|
||||
"core.middleware.RequestMiddleware",
|
||||
)
|
||||
|
||||
ROOT_URLCONF = "sith.urls"
|
||||
@ -443,6 +444,11 @@ SITH_PEDAGOGY_UV_RESULT_GRADE = [
|
||||
("ABS", _("Abs")),
|
||||
]
|
||||
|
||||
SITH_LOG_OPERATION_TYPE = [
|
||||
(("SELLING_DELETION"), _("Selling deletion")),
|
||||
(("REFILLING_DELETION"), _("Refilling deletion")),
|
||||
]
|
||||
|
||||
SITH_PEDAGOGY_UTBM_API = "https://extranet1.utbm.fr/gpedago/api/guide"
|
||||
|
||||
SITH_ECOCUP_CONS = 1152
|
||||
|
Reference in New Issue
Block a user