Use new version identifier from Netbox (#608)
This commit is contained in:
1 parent
555c1fac4c
commit
f3b822e18d
1 file changed
+1
-1
@@ -3,7 +3,7 @@ from netbox.plugins import PluginTemplateExtension
|
||||
from django.conf import settings
|
||||
from packaging import version
|
||||
|
||||
NETBOX_CURRENT_VERSION = version.parse(settings.VERSION)
|
||||
NETBOX_CURRENT_VERSION = version.parse(settings.RELEASE.version)
|
||||
|
||||
|
||||
class SiteButtons(PluginTemplateExtension):
|
||||
|
||||
Reference in new issue
Block a user