Поменял структуру моделей
Some checks failed
Deploy MES Core / deploy (push) Failing after 1s

This commit is contained in:
2026-03-29 16:04:02 +03:00
parent 641abfff5e
commit 191d06d7d3
11 changed files with 194 additions and 77 deletions

View File

@@ -0,0 +1,9 @@
from django.conf import settings
def env_info(request):
"""
Прокидываем ENV_TYPE во все шаблоны.
"""
return {
'ENV_TYPE': getattr(settings, 'ENV_TYPE', 'local')
}