Django-api-forms

Latest version: v0.21.0

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 10

0.16.3

- **Fixed**: `ApiFormException('No clean data provided! Try to call is_valid() first.')` was incorrectly raised if
request payload was empty during `Form::fill` method call
- **Changed**: `clean_data` property is by default `None` instead of empty dictionary

0.16.2

- **Fixed**: Fixed issue with `clean_` methods returning values resolved as False (`False`, `None`, `''`)

0.16.1

- **Fixed**: Ignore `ModelMultipleChoiceField` in `Form::fill()`

0.16.0

One more step to get rid of `pytest` in project (we don't need it)

- **Changed**: Correctly resolve key postfix if `ModelChoiceField` is used in `Form::fill()`
- **Changed**: `DjangoApiFormsConfig` is created

0.15.1

- **Added**: `FileField.content_type` introduced (contains mime)

0.15.0

- **Added**: `FileField` and `ImageField` introduced
- **Added**: Defined extras in `setup.py` for optional `Pillow` and `msgpack` dependencies
- **Added**: Working `Form::fill()` method for primitive data types. Introduced `IgnoreFillMixin`

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.