mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 11:16:25 +00:00
Bump API version to 3
- New stock item history tracking is incompatible - Adds API info to the "about" dialog
This commit is contained in:
1 parent
6c91d067d7
commit
240ff59b30
3 files changed
+20
-2
No files matched your search
@@ -119,6 +119,12 @@ def inventree_version(*args, **kwargs):
|
||||
return version.inventreeVersion()
|
||||
|
||||
|
||||
@register.simple_tag()
|
||||
def inventree_api_version(*args, **kwargs):
|
||||
""" Return InvenTree API version """
|
||||
return version.inventreeApiVersion()
|
||||
|
||||
|
||||
@register.simple_tag()
|
||||
def django_version(*args, **kwargs):
|
||||
""" Return Django version string """
|
||||
|
||||
Reference in new issue
Block a user