Ajout d'un context processor pour fournir la version applicative via SITE_VERSION.

This commit is contained in:
mrtoine 2025-12-15 13:19:03 +01:00
parent b7f792a182
commit a5c1aa06a5

View file

@ -0,0 +1,4 @@
from django.conf import settings
def app_version(request):
return {'SITE_VERSION': settings.GIT_VERSION}