Skip to content

Custom validation logic goes where? #6865

Answered by jeremystretch
bluikko asked this question in Q&A
Discussion options

You must be logged in to vote

You can define custom validator classes in a separate file, but they must be imported into configuration.py so you can set CUSTOM_VALIDATORS: https://netbox.readthedocs.io/en/feature/customization/custom-validation/

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@bluikko
Comment options

@jeremystretch
Comment options

@bluikko
Comment options

@bluikko
Comment options

Answer selected by bluikko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants