mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-18 15:10:11 +02:00
#7336: Misc cleanup
This commit is contained in:
@@ -487,6 +487,12 @@ class VLANTranslationPolicyImportForm(NetBoxModelImportForm):
|
||||
|
||||
|
||||
class VLANTranslationRuleImportForm(NetBoxModelImportForm):
|
||||
policy = CSVModelChoiceField(
|
||||
label=_('Policy'),
|
||||
queryset=VLANTranslationPolicy.objects.all(),
|
||||
to_field_name='name',
|
||||
help_text=_('VLAN translation policy')
|
||||
)
|
||||
|
||||
class Meta:
|
||||
model = VLANTranslationRule
|
||||
|
||||
Reference in New Issue
Block a user