add SAREX_MODULES
This commit is contained in:
parent
5ef655f1bc
commit
f9bde75ed7
@ -123,3 +123,9 @@ REST_FRAMEWORK["DEFAULT_AUTHENTICATION_CLASSES"] = [
|
|||||||
"rest_framework.authentication.SessionAuthentication",
|
"rest_framework.authentication.SessionAuthentication",
|
||||||
"rest_framework.authentication.BasicAuthentication",
|
"rest_framework.authentication.BasicAuthentication",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# --- Оставляем в сайдбаре только модуль «Съёмки» ----------------------------
|
||||||
|
# Фронт показывает модуль, только если его uri есть в modules_list (= SAREX_MODULES).
|
||||||
|
SAREX_MODULES = [
|
||||||
|
{"name": "Съёмки", "uri": "/targets"},
|
||||||
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user