Closes #10923: Remove unused NetBoxModelCSVForm class

This commit is contained in:
jeremystretch 2023-01-09 10:08:26 -05:00 committed by jeremystretch
parent cd09501d4d
commit e19ce69238
4 changed files with 9 additions and 10 deletions

View File

@ -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`)

View File

@ -259,6 +259,7 @@ nav:
- git Cheat Sheet: 'development/git-cheat-sheet.md' - git Cheat Sheet: 'development/git-cheat-sheet.md'
- Release Notes: - Release Notes:
- Summary: 'release-notes/index.md' - 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.4: 'release-notes/version-3.4.md'
- Version 3.3: 'release-notes/version-3.3.md' - Version 3.3: 'release-notes/version-3.3.md'
- Version 3.2: 'release-notes/version-3.2.md' - Version 3.2: 'release-notes/version-3.2.md'

View File

@ -10,7 +10,6 @@ from utilities.forms import BootstrapMixin, CSVModelForm
from utilities.forms.fields import CSVModelMultipleChoiceField, DynamicModelMultipleChoiceField from utilities.forms.fields import CSVModelMultipleChoiceField, DynamicModelMultipleChoiceField
__all__ = ( __all__ = (
'NetBoxModelCSVForm',
'NetBoxModelForm', 'NetBoxModelForm',
'NetBoxModelImportForm', 'NetBoxModelImportForm',
'NetBoxModelBulkEditForm', 'NetBoxModelBulkEditForm',
@ -86,14 +85,6 @@ class NetBoxModelImportForm(CSVModelForm, NetBoxModelForm):
return customfield.to_form_field(for_csv_import=True) 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): 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 Base form for modifying multiple NetBox objects (of the same type) in bulk via the UI. Adds support for custom

View File

@ -24,7 +24,7 @@ from netbox.constants import RQ_QUEUE_DEFAULT, RQ_QUEUE_HIGH, RQ_QUEUE_LOW
# Environment setup # Environment setup
# #
VERSION = '3.4.5-dev' VERSION = '3.5.0-dev'
# Hostname # Hostname
HOSTNAME = platform.node() HOSTNAME = platform.node()