File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed
Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ class NextBoxUIConfig(PluginConfig):
44 name = 'nextbox_ui_plugin'
55 verbose_name = 'NextBox UI'
66 description = 'A topology visualization plugin for Netbox powered by NextUI Toolkit.'
7- version = '0.11 .0'
7+ version = '0.12 .0'
88 author = 'Igor Korotchenkov'
99 author_email = 'iDebugAll@gmail.com'
1010 base_url = 'nextbox-ui'
Original file line number Diff line number Diff line change 11from django import forms
22from ipam .models import VLAN
3- from utilities .forms import (
4- BootstrapMixin ,
5- DynamicModelMultipleChoiceField ,
6- DynamicModelChoiceField
7- )
83from .models import SavedTopology
94from dcim .models import Device , Site , Region
105from django .conf import settings
2015if NETBOX_CURRENT_VERSION >= version .parse ("3.0" ) :
2116 from django .utils .translation import gettext as _
2217
18+ if NETBOX_CURRENT_VERSION < version .parse ("3.5" ):
19+ from utilities .forms import (
20+ BootstrapMixin ,
21+ DynamicModelMultipleChoiceField ,
22+ DynamicModelChoiceField
23+ )
24+ else :
25+ from utilities .forms import BootstrapMixin
26+ from utilities .forms .fields import (
27+ DynamicModelMultipleChoiceField ,
28+ DynamicModelChoiceField
29+ )
30+
2331
2432class TopologyFilterForm (BootstrapMixin , forms .Form ):
2533
Original file line number Diff line number Diff line change 77
88setup (
99 name = 'nextbox_ui_plugin' ,
10- version = '0.11 .0' ,
10+ version = '0.12 .0' ,
1111 url = 'https://github.com/iDebugAll/nextbox-ui-plugin' ,
12- download_url = 'https://github.com/iDebugAll/nextbox-ui-plugin/archive/v0.11 .0.tar.gz' ,
12+ download_url = 'https://github.com/iDebugAll/nextbox-ui-plugin/archive/v0.12 .0.tar.gz' ,
1313 description = 'A topology visualization plugin for Netbox powered by NextUI Toolkit.' ,
1414 long_description = long_description ,
1515 long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments