Skip to content

Commit

Permalink
Merge pull request #9200 from kkthxbye-code/fix-9189
Browse files Browse the repository at this point in the history
Fixes #9189:  Correct custom validators docs
  • Loading branch information
jeremystretch authored Apr 25, 2022
2 parents 405d0ab + 50428c3 commit 74b5e55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/customization/custom-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ from my_validators import Validator1, Validator2, Validator3

CUSTOM_VALIDATORS = {
'dcim.site': (
Validator1,
Validator2,
Validator1(),
Validator2(),
),
'dcim.device': (
Validator3,
Validator3(),
)
}
```
Expand Down

0 comments on commit 74b5e55

Please sign in to comment.