Ajout d'un context processor pour fournir la version applicative via SITE_VERSION.
This commit is contained in:
parent
b7f792a182
commit
a5c1aa06a5
1 changed files with 4 additions and 0 deletions
4
devart/context_processor.py
Normal file
4
devart/context_processor.py
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
|
def app_version(request):
|
||||||
|
return {'SITE_VERSION': settings.GIT_VERSION}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue