djblets.db.validators
-
validate_json(value)[source]
Validates content going into a JSONField.
This will raise a ValidationError if the value is a string
(representing a serialized JSON payload, possibly from the admin UI)
and cannot be loaded properly.