Model-mommy

Latest version: v2.0.0

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

Scan your dependencies

Page 1 of 2

2.0.0

-----
- Discontinue the lib and migrate to https://github.com/model-bakers/model_bakery
- Use default value for unknown field types
- Enable seq method to be imported directly from model_mommy
- Stick to Django's roadmap (https://www.djangoproject.com/download/)
- Add validation to `_fill_optional` parameter
- Add new `_from_manager` parameter to `make` method
- Clean up obsolete imports
- Save object instances when handling one to many relations

1.6.0

-----
- Support for Postgres' CI fields types
- NullBooleanField using gen_boolean generator
- Remove dependency with Django from model_mommy.random_gen module
- New parameter `_refresh_after_create` added to `model_mommy.make` method (defaults to `False`)

1.5.1

-----
- Support for GIS fields when `django.contrib.gis` is installed
- Do not create refrence if FK is specified with id (<name>_id)

1.5.0

-----
- Allow usage with Models which include a model attribute
- Support Django 2.0

1.4.0

-----
- Drops support for Django < 1.8
- Fix deprecation warnings for Django 1.11
- Avoid touching the DB on prepare()
- Flag `_create_files=True` needed to create ImageFieldFile in ImageFields,
otherwise you'll get a `<ImageFieldFile: None>`

1.3.2

-----
- Fix bug in save related keyword
- Wheel support
- HStoreFields Support

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.