mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
17170 test fixes
This commit is contained in:
parent
82233c1e3e
commit
9436ab61a2
@ -80,7 +80,7 @@ class ContactImportForm(NetBoxModelImportForm):
|
|||||||
groups = CSVModelMultipleChoiceField(
|
groups = CSVModelMultipleChoiceField(
|
||||||
queryset=ContactGroup.objects.all(),
|
queryset=ContactGroup.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
to_field_name='slug',
|
to_field_name='name',
|
||||||
help_text=_('Groups')
|
help_text=_('Groups')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ class ContactAssignmentForm(NetBoxModelForm):
|
|||||||
queryset=ContactGroup.objects.all(),
|
queryset=ContactGroup.objects.all(),
|
||||||
required=False,
|
required=False,
|
||||||
initial_params={
|
initial_params={
|
||||||
'contacts': '$contact'
|
'contact': '$contact'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
contact = DynamicModelChoiceField(
|
contact = DynamicModelChoiceField(
|
||||||
|
Loading…
Reference in New Issue
Block a user