Drf-flex-fields

Latest version: v1.0.2

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

Scan your dependencies

Page 3 of 4

0.8.8

* Django 3.1.1 fix. Thansks NiyazNz!
* Docs typo fix. Thanks zakjholt!

0.8.5

* Adds options to customize parameter names and wildcard values. Closes 10.

0.8.1

* Fixes 44, related to the experimental filter backend. Thanks jsatt!

0.8.0

* Adds support for `expand`, `omit` and `fields` query parameters for non-GET requests.
- The common use case is creating/updating a model instance and returning a serialized response with expanded fields
- Thanks kotepillar for raising the issue (25) and Crocmagnon for the idea of delaying field modification until `to_representation()`.

0.7.5

- Simplifies declaration of expandable_fields
- If using a tuple, the second element - to define the serializer settings - is now optional.
- Instead of a tuple, you can now just use the serializer class or a string to lazily reference that class.
- Updates documentation.

0.7.0

* Adds support for different ways of passing arrays in query strings. Thanks sentyaev!
* Fixes attribute error when map is supplied to split levels utility function. Thanks hemache!

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.