Skip to content

Commit

Permalink
Call super().clean() after validating scope_type/scope
Browse files Browse the repository at this point in the history
  • Loading branch information
bctiemann committed Dec 18, 2024
1 parent 6a4c944 commit a710cec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/dcim/models/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def clean(self):
"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)
Expand Down

0 comments on commit a710cec

Please sign in to comment.