Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vandersonmota committed Apr 7, 2015
1 parent 89f31c3 commit 6c45de3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/basic_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,12 @@ File: test_model.py ::
self.rex = mommy.make('family.Dog')

She will also create the Kid, automagically.
**NOTE: ForeignKeys and OneToOneFields**
Since Django 1.8, ForeignKey and OneToOne fields don't accept unpersisted model instances anymore. This means if you do:

mommy.prepare('family.Dog')

You'll end with a persisted "Kid" instance.

M2M Relationships
-----------------
Expand Down

0 comments on commit 6c45de3

Please sign in to comment.