2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-05 06:48:48 +00:00

fix missing template tag (#9000)

This commit is contained in:
Lukas 2025-01-31 22:27:27 +01:00 committed by GitHub
parent ce16dac102
commit 66496fb669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,6 +117,12 @@ def inventree_commit_hash(*args, **kwargs):
return version.inventreeCommitHash() return version.inventreeCommitHash()
@register.simple_tag()
def inventree_installer(*args, **kwargs):
"""Return InvenTree package installer string."""
return version.inventreeInstaller()
@register.simple_tag() @register.simple_tag()
def inventree_commit_date(*args, **kwargs): def inventree_commit_date(*args, **kwargs):
"""Return InvenTree git commit date string.""" """Return InvenTree git commit date string."""