elgeopaso.jobs.templatetags.version module¶
Application views.
Learn more here: https://docs.djangoproject.com/fr/2.2/topics/http/views/
- elgeopaso.jobs.templatetags.version.version_date(date_format='%d/%m/%Y')[source]¶
Return the last modification date based on git. If git folder does not exist, an empty string is returned instead.
- Renvoie
last modification date
- Type renvoyé
- Example
# from a Django template, first load the custom templatetag {% load version %} # in a text div <p> My awesome project - Last updated: {% version_date %} </p>