Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run super().clean() in custom clean() methods #249

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

peteeckel
Copy link
Owner

fixes #248

The post_clean() signal is a NetBox custom signal and not a Django standard signal, and it is explicitly triggered by running the super().clean() method in custom clean() methods.

The clean() methods for Record and NameServer did not call that method, so validators were not run.

@peteeckel peteeckel merged commit bff84ca into main Apr 24, 2024
8 checks passed
@peteeckel peteeckel deleted the fix/custom-validate-nameserver-record branch April 24, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Record and NameServer are not validated by custom validators
1 participant