mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Correct custom validators docs
This commit is contained in:
@ -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(),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user