mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
Call super().clean() after validating scope_type/scope
This commit is contained in:
parent
6a4c944e64
commit
a710cec061
@ -94,6 +94,7 @@ class CachedScopeMixin(models.Model):
|
||||
"Please select a {scope_type}."
|
||||
).format(scope_type=scope_type._meta.model_name)
|
||||
})
|
||||
super().clean()
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
# Cache objects associated with the terminating object (for filtering)
|
||||
|
Loading…
Reference in New Issue
Block a user