Model Mommy
latest
  • Install Instructions
  • Compatibility
  • Install
  • Inspiration
  • Basic Usage
  • How mommy behaves?
  • Recipes
  • Deprecation Warnings
  • Known Issues
  • Extensions
Model Mommy
  • Docs »
  • Model Mommy: Smart fixtures for better tests
  • Edit on GitHub

Model Mommy: Smart fixtures for better tests¶

IMPORTANT: Model Mommy is no longer maintained and was replaced by Model Bakery. Please, consider migrating your project to use the new lib.

Model Mommy’s creator and the maintainers decided to rename the project to not reinforce gender stereotypes for women in technology. You can read more about this subject here.

Contents¶

  • Install Instructions
  • Compatibility
  • Install
  • Inspiration
  • Basic Usage
    • Model Relationships
    • M2M Relationships
    • Explicit M2M Relationships
    • Defining some attributes
    • Creating Files
    • Non persistent objects
    • More than one instance
  • How mommy behaves?
    • When shouldn’t you let mommy generate things for you?
    • Currently supported fields
    • Custom fields
    • Customizing Mommy
    • Save method custom parameters
  • Recipes
    • Recipes with foreign keys
    • Recipes with callables
    • Recipes with iterators
    • Sequences in recipes
    • Overriding recipe definitions
    • Recipe inheritance
  • Deprecation Warnings
  • Known Issues
    • django-taggit
  • Extensions
    • GeoDjango

Indices and tables¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 2014, Lucas Simon Rodrigues Magalhaes Revision 3173513c.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
2.0.0
1.6.0
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.6
1.2.5.1
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.