Поменял название системы в футере и ввел версионностьы
All checks were successful
Deploy MES Core / deploy (push) Successful in 11s

This commit is contained in:
2026-04-16 23:20:40 +03:00
parent ef30e5ebb8
commit c558eb1416
5 changed files with 16 additions and 1 deletions

View File

View File

@@ -0,0 +1,9 @@
from django import template
from django.conf import settings
register = template.Library()
@register.simple_tag
def app_version() -> str:
return str(getattr(settings, 'APP_VERSION', '0.0.0'))