Merge pull request #9200 from kkthxbye-code/fix-9189

Fixes #9189:  Correct custom validators docs
This commit is contained in:
Jeremy Stretch 2022-04-25 08:11:15 -04:00 committed by GitHub
commit 74b5e55643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,11 +105,11 @@ from my_validators import Validator1, Validator2, Validator3
CUSTOM_VALIDATORS = { CUSTOM_VALIDATORS = {
'dcim.site': ( 'dcim.site': (
Validator1, Validator1(),
Validator2, Validator2(),
), ),
'dcim.device': ( 'dcim.device': (
Validator3, Validator3(),
) )
} }
``` ```