Model-bakery

Latest version: v1.20.0

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

Scan your dependencies

Page 1 of 7

1.20.0

Added
- Support to Field `db_default` value
- Support to Python 3.13

1.19.5

Changed
- Reset `content_type` and `object_id` fields when the content object is `None`

1.19.4

Changed
- Allow `None` value for generic foreign keys within iterators
- Make `TextField` generator respect `max_length`
- Deprecate `model_bakery.random_gen.gen_text` in favor of `model_bakery.random_gen.gen_string`

1.19.3

Changed
- Do not handle GFK fields when the object is None

1.19.2

Added
- docs: Add Django settings example for custom field generators

Changed
- Align GFK and content type fields generation
- Allow `prepare()` to be used with GFK

1.19.1

Changed
- Handle bulk creation when using reverse related name

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.