Skip to content

Commit f31b99c

Browse files
committed
update forms error order
1 parent 9cdbf58 commit f31b99c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netbox_acls/forms/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
ACLExtendedRule,
3131
ACLInterfaceAssignment,
3232
ACLStandardRule,
33+
BaseACLRule,
3334
)
3435

3536
__all__ = (
@@ -463,8 +464,8 @@ def _clean_check_if_interface_parent_is_assigned_to_access_list(
463464
raise forms.ValidationError(
464465
{
465466
"access_list": [ERROR_ACL_NOT_ASSIGNED_TO_HOST],
466-
assigned_object_type: [ERROR_ACL_NOT_ASSIGNED_TO_HOST],
467467
host_type: [ERROR_ACL_NOT_ASSIGNED_TO_HOST],
468+
assigned_object_type: [ERROR_ACL_NOT_ASSIGNED_TO_HOST],
468469
}
469470
)
470471

0 commit comments

Comments
 (0)