Skip to content

Standardize on mechanism for specifying generic related objects during CSV import #5306

@jeremystretch

Description

@jeremystretch

Proposed Changes

When importing objects in CSV format, require specifying the related object type in the form <app>.<model> for consistency. The following forms need to be updated:

  • CableCSVForm: Import A/B terminations using model name only
  • IPAddressCSVForm: assigned_object_type does not use CSVModelChoiceField
  • SecretCSVForm: Object type uses model name only

Justification

Ensures a consistent UX for importing all types of objects.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: housekeepingChanges to the application which do not directly impact the end user

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions