berinhard / model_mommy

No longer maintained, please migrate to model_bakery
http://model-bakery.readthedocs.org/
Other
903 stars 141 forks source link

1.2.1 m2m documentation is incorrect #168

Closed toshism closed 10 years ago

toshism commented 10 years ago

http://model-mommy.readthedocs.org/en/1.2.1/basic_usage.html#m2m-relationships

the example shows: self.rex = mommy.make('family.Dog', M2M=True)

I believe it should actually be: self.rex = mommy.make('family.Dog', make_m2m=True)

vandersonmota commented 10 years ago

Thanks for pointing this out @toshism. it will be corrected

vandersonmota commented 10 years ago

fixed: 3af652b