Model-bakery

Latest version: v1.20.4

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

Scan your dependencies

Page 1 of 8

1.20.4

Changed
- Fix regression introduced in 1.20.3 that prevented using `auto_now` and `auto_now_add` fields with seq or callable.

1.20.3

Changed
- Fix support of `auto_now` and `auto_now_add` fields in combination with `_fill_optional`
- Isolate Recipe defaults to prevent modification via instances

1.20.2

Changed
- Fix setting GFK parameter by a callable
- Fix regression forbidding using Proxy models as GFK

1.20.1

Added
- docs: Add missing doc on `_refresh_after_create` option

Changed
- Fix `Recipe.prepare` without `_quantity` (on one-to-one relation)

Removed
- Remove deprecation warning of `datetime.datetime.utcfromtimestamp`.

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`

Page 1 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.