Staticmodel

Latest version: v1.1.3

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

Scan your dependencies

Page 1 of 2

1.1.3

- Fix broken 1.1.2 distribution

1.1.2

- Fix incompatibility with Python 3.10

1.1.1

- Fix incompatibility of model fields with newer Django versions.

1.1.0

* Explicit subclassing of 'object' type has been removed.
* Main documentation has been extensively updated to compare against the built-in 'Enum' type.
* Formatting of Django Rest Framework serializer fields documentation has been fixed.
* Version number in documentation has been fixed.

1.0.0

IMPORTANT: This version is not backwards compatible with code using 0.x.
Attempts have been made below to specify potential breaking changes,
but there may be others. You have been warned.
* All support for Python 2 has been removed.
* The django.fields module has been removed. Use django.models.fields instead.
* The members.filter() method now returns all members when called without
criteria.
* Placeholders with a value of None are now inserted in results of
members.values() and members.values_list() when specified fields do not exist
on a member in the results.
* Django Rest Framework serializer fields now require DRF 3.x API.
* Django Rest Framework serializer fields can now serialize the entire static
model member, and handle the corresponding mapping in a representation.
* A members.choices() method has been added as a shortcut for generating 2-item
tuples from static model members.
* Documentation has been updated.

0.6.1

* Add tests for Django Rest Framework serializer fields.
* Fix bugs in Django Rest Framework serializer fields.
* Add DRF version clarification to serializer module docstring.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.