Model Bakery offers you a smart way to create fixtures for testing in Django.
With a simple and powerful API you can create many objects with a single line of code.
Model Bakery is a rename of the legacy model_mommy's project. This is because the project's creator and maintainers decided to not reinforce gender stereotypes for women in technology. You can read more about this subject here.
Model Bakery supports Django >= 2.2.
Install it with pip
$ pip install model_bakery
As an open source project, Model Bakery welcomes contributions of many forms. Examples of contributions include:
- Code Patches
- Documentation improvements
- Bug reports
Take a look in our Github repo for more instructions on how to set up your local environment to help Model Bakery to grow.
Feel free to open an issue for support, development or ideas!
.. toctree:: :maxdepth: 4 basic_usage recipes how_bakery_behaves test_runners migrating_from_mommy