mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-25 08:46:10 -06:00
12589 validation error
This commit is contained in:
parent
e7b21549b2
commit
93ba0c0177
@ -365,6 +365,6 @@ class ObjectPermissionForm(BootstrapMixin, forms.ModelForm):
|
||||
}
|
||||
model.objects.filter(qs_filter_from_constraints(constraints, tokens)).exists()
|
||||
except FieldError as e:
|
||||
raise ValidationError({
|
||||
raise forms.ValidationError({
|
||||
'constraints': f'Invalid filter for {model}: {e}'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user