mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
Closes #10923: Remove unused NetBoxModelCSVForm class
This commit is contained in:
parent
cd09501d4d
commit
e19ce69238
7
docs/release-notes/version-3.5.md
Normal file
7
docs/release-notes/version-3.5.md
Normal 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`)
|
@ -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'
|
||||||
|
@ -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
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user