forked from ScoDoc/ScoDoc
Désactive tri des JSON
This commit is contained in:
parent
c332f1cee7
commit
517ee8bd2d
@ -34,7 +34,9 @@ class Config:
|
|||||||
SCODOC_ERR_FILE = os.path.join(SCODOC_VAR_DIR, "log", "scodoc_exc.log")
|
SCODOC_ERR_FILE = os.path.join(SCODOC_VAR_DIR, "log", "scodoc_exc.log")
|
||||||
#
|
#
|
||||||
MAX_CONTENT_LENGTH = 16 * 1024 * 1024 # Flask uploads (16Mo, en ligne avec nginx)
|
MAX_CONTENT_LENGTH = 16 * 1024 * 1024 # Flask uploads (16Mo, en ligne avec nginx)
|
||||||
|
# Pour conserver l'ordre des objets dans les JSON:
|
||||||
|
# e.g. l'ordre des UE dans les bulletins
|
||||||
|
JSON_SORT_KEYS = False
|
||||||
# STATIC_URL_PATH = "/ScoDoc/static"
|
# STATIC_URL_PATH = "/ScoDoc/static"
|
||||||
# static_folder = "stat"
|
# static_folder = "stat"
|
||||||
# SERVER_NAME = os.environ.get("SERVER_NAME")
|
# SERVER_NAME = os.environ.get("SERVER_NAME")
|
||||||
|
Loading…
Reference in New Issue
Block a user