Skip to content

Commit

Permalink
Closes #10923: Remove unused NetBoxModelCSVForm class
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Jan 9, 2023
1 parent effcdb8 commit 3a9e431
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
7 changes: 7 additions & 0 deletions docs/release-notes/version-3.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# NetBox v3.4

## v3.5.0 (FUTURE)

### Other Changes

* [#10923](https://github.com/netbox-community/netbox/issues/10923) - Remove unused `NetBoxModelCSVForm` class (replaced by `NetBoxModelImportForm`)
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ nav:
- git Cheat Sheet: 'development/git-cheat-sheet.md'
- Release Notes:
- Summary: 'release-notes/index.md'
- Version 3.5: 'release-notes/version-3.5.md'
- Version 3.4: 'release-notes/version-3.4.md'
- Version 3.3: 'release-notes/version-3.3.md'
- Version 3.2: 'release-notes/version-3.2.md'
Expand Down
9 changes: 0 additions & 9 deletions netbox/netbox/forms/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from utilities.forms.fields import CSVModelMultipleChoiceField, DynamicModelMultipleChoiceField

__all__ = (
'NetBoxModelCSVForm',
'NetBoxModelForm',
'NetBoxModelImportForm',
'NetBoxModelBulkEditForm',
Expand Down Expand Up @@ -86,14 +85,6 @@ def _get_form_field(self, customfield):
return customfield.to_form_field(for_csv_import=True)


class NetBoxModelCSVForm(NetBoxModelImportForm):
"""
Maintains backward compatibility for NetBoxModelImportForm for plugins.
"""
# TODO: Remove in NetBox v3.5
pass


class NetBoxModelBulkEditForm(BootstrapMixin, CustomFieldsMixin, forms.Form):
"""
Base form for modifying multiple NetBox objects (of the same type) in bulk via the UI. Adds support for custom
Expand Down
2 changes: 1 addition & 1 deletion netbox/netbox/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# Environment setup
#

VERSION = '3.4.3-dev'
VERSION = '3.5.0-dev'

# Hostname
HOSTNAME = platform.node()
Expand Down

0 comments on commit 3a9e431

Please sign in to comment.