Validate some untrusted data using a model. Trusted data can be passed in the context parameter.
| Parameters: |
|
|---|---|
| Returns: | data data dict contains the valid raw_data plus the context data. If errors are found, they are raised as a ValidationError with a list of errors attached. |
To learn more about how Validation is used, visit Using Validation