feat: add build date to template context

This commit is contained in:
relikd
2023-06-06 19:30:54 +02:00
parent 11086955be
commit ad9cd818d6
5 changed files with 26 additions and 3 deletions

7
app/base/context.py Executable file
View File

@@ -0,0 +1,7 @@
from django.conf import settings
def custom_context(request):
return {
'BUILD_DATE': settings.BUILD_DATE,
}