@@ -167,10 +167,10 @@ def __init__(self, *args, **kwargs):
167167 def clean (self ):
168168 """
169169 Validates form inputs before submitting:
170- - Check if more than one host type selected.
171- - Check if no hosts selected.
172- - Check if duplicate entry. (Because of GFK.)
173- - Check if Access List has no existing rules before change the Access List's type.
170+ - Check if more than one host type selected.
171+ - Check if no hosts selected.
172+ - Check if duplicate entry. (Because of GFK.)
173+ - Check if Access List has no existing rules before change the Access List's type.
174174 """
175175 cleaned_data = super ().clean ()
176176 error_message = {}
@@ -376,12 +376,12 @@ class Meta:
376376 def clean (self ):
377377 """
378378 Validates form inputs before submitting:
379- - Check if both interface and vminterface are set.
380- - Check if neither interface nor vminterface are set.
381- - Check that an interface's parent device/virtual_machine is assigned to the Access List.
382- - Check that an interface's parent device/virtual_machine is assigned to the Access List.
383- - Check for duplicate entry. (Because of GFK)
384- - Check that the interface does not have an existing ACL applied in the direction already.
379+ - Check if both interface and vminterface are set.
380+ - Check if neither interface nor vminterface are set.
381+ - Check that an interface's parent device/virtual_machine is assigned to the Access List.
382+ - Check that an interface's parent device/virtual_machine is assigned to the Access List.
383+ - Check for duplicate entry. (Because of GFK)
384+ - Check that the interface does not have an existing ACL applied in the direction already.
385385 """
386386 cleaned_data = super ().clean ()
387387 error_message = {}
0 commit comments