Skip to content

Commit e19ce69

Browse files
committed
Closes #10923: Remove unused NetBoxModelCSVForm class
1 parent cd09501 commit e19ce69

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

docs/release-notes/version-3.5.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# NetBox v3.4
2+
3+
## v3.5.0 (FUTURE)
4+
5+
### Other Changes
6+
7+
* [#10923](https://github.com/netbox-community/netbox/issues/10923) - Remove unused `NetBoxModelCSVForm` class (replaced by `NetBoxModelImportForm`)

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ nav:
259259
- git Cheat Sheet: 'development/git-cheat-sheet.md'
260260
- Release Notes:
261261
- Summary: 'release-notes/index.md'
262+
- Version 3.5: 'release-notes/version-3.5.md'
262263
- Version 3.4: 'release-notes/version-3.4.md'
263264
- Version 3.3: 'release-notes/version-3.3.md'
264265
- Version 3.2: 'release-notes/version-3.2.md'

netbox/netbox/forms/base.py

-9
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from utilities.forms.fields import CSVModelMultipleChoiceField, DynamicModelMultipleChoiceField
1111

1212
__all__ = (
13-
'NetBoxModelCSVForm',
1413
'NetBoxModelForm',
1514
'NetBoxModelImportForm',
1615
'NetBoxModelBulkEditForm',
@@ -86,14 +85,6 @@ def _get_form_field(self, customfield):
8685
return customfield.to_form_field(for_csv_import=True)
8786

8887

89-
class NetBoxModelCSVForm(NetBoxModelImportForm):
90-
"""
91-
Maintains backward compatibility for NetBoxModelImportForm for plugins.
92-
"""
93-
# TODO: Remove in NetBox v3.5
94-
pass
95-
96-
9788
class NetBoxModelBulkEditForm(BootstrapMixin, CustomFieldsMixin, forms.Form):
9889
"""
9990
Base form for modifying multiple NetBox objects (of the same type) in bulk via the UI. Adds support for custom

netbox/netbox/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# Environment setup
2525
#
2626

27-
VERSION = '3.4.5-dev'
27+
VERSION = '3.5.0-dev'
2828

2929
# Hostname
3030
HOSTNAME = platform.node()

0 commit comments

Comments
 (0)