Validators
is_datastore_field(value, context)
ΒΆ
Make sure this field is an actual datastore field.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
list of field names |
required | |
context
|
the validation context |
required |
Returns:
| Type | Description |
|---|---|
|
the value if it's valid |
Source code in ckanext/gallery/logic/validators.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |