@@ -167,10 +167,10 @@ def __init__(self, *args, **kwargs):
167
167
def clean (self ):
168
168
"""
169
169
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.
174
174
"""
175
175
cleaned_data = super ().clean ()
176
176
error_message = {}
@@ -376,12 +376,12 @@ class Meta:
376
376
def clean (self ):
377
377
"""
378
378
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.
385
385
"""
386
386
cleaned_data = super ().clean ()
387
387
error_message = {}
0 commit comments