File tree 3 files changed +8
-23
lines changed
netbox/utilities/forms/fields
3 files changed +8
-23
lines changed Original file line number Diff line number Diff line change
1
+ # NetBox v3.6
2
+
3
+ ## v3.6.0 (FUTURE)
4
+
5
+ ### Other Changes
6
+
7
+ * [ #11766 ] ( https://github.com/netbox-community/netbox/issues/11766 ) - Remove obsolete custom ` ChoiceField ` and ` MultipleChoiceField ` classes
Original file line number Diff line number Diff line change 273
273
- git Cheat Sheet : ' development/git-cheat-sheet.md'
274
274
- Release Notes :
275
275
- Summary : ' release-notes/index.md'
276
+ - Version 3.6 : ' release-notes/version-3.6.md'
276
277
- Version 3.5 : ' release-notes/version-3.5.md'
277
278
- Version 3.4 : ' release-notes/version-3.4.md'
278
279
- Version 3.3 : ' release-notes/version-3.3.md'
Original file line number Diff line number Diff line change 11
11
from utilities .validators import EnhancedURLValidator
12
12
13
13
__all__ = (
14
- 'ChoiceField' ,
15
14
'ColorField' ,
16
15
'CommentField' ,
17
16
'JSONField' ,
18
17
'LaxURLField' ,
19
18
'MACAddressField' ,
20
- 'MultipleChoiceField' ,
21
19
'SlugField' ,
22
20
'TagFilterField' ,
23
21
)
@@ -128,24 +126,3 @@ def to_python(self, value):
128
126
raise forms .ValidationError (self .error_messages ['invalid' ], code = 'invalid' )
129
127
130
128
return value
131
-
132
-
133
- #
134
- # Choice fields
135
- #
136
-
137
- class ChoiceField (forms .ChoiceField ):
138
- """
139
- Previously used to override Django's built-in `ChoiceField` to use NetBox's now-obsolete `StaticSelect` widget.
140
- """
141
- # TODO: Remove in v3.6
142
- pass
143
-
144
-
145
- class MultipleChoiceField (forms .MultipleChoiceField ):
146
- """
147
- Previously used to override Django's built-in `MultipleChoiceField` to use NetBox's now-obsolete
148
- `StaticSelectMultiple` widget.
149
- """
150
- # TODO: Remove in v3.6
151
- pass
You can’t perform that action at this time.
0 commit comments