[omaha] Django Model patterns

Steve Young wereapwhatwesow at gmail.com
Thu Feb 20 01:44:39 CET 2014


factoryboy is nice!  How about https://github.com/vandersonmota/model_mommy?


Steve


On Wed, Feb 19, 2014 at 6:28 PM, Jeff Hinrichs - DM&T <jeffh at dundeemt.com>wrote:

> factoryboy ++1
>
> wouldn't go back to anything else.   Makes testing taste great.  json
> importing is all crunchy, dry and brittle by comparison.   That +
> migrations (nee south) makes db refactoring less sucky. Still isn't as good
> as I would like to see db refactoring, but it is less like hard concrete
> and more like wet sand with these tools.
>
>
> On Wed, Feb 19, 2014 at 6:19 PM, Wes Turner <wes.turner at gmail.com> wrote:
>
> > On 2/19/14, Mike Hostetler <mike at squarepegsystems.com> wrote:
> > > I'm getting ready to start a new Django project -- this is good stuff.
> > And
> > > Wes added some great links too.
> > >
> > > I did move a bunch of Django fixtures from the "traditional" JSON
> > importing
> > > to FactoryBoy and -- wow -- was life ever easier after that.
> >
> > https://factoryboy.readthedocs.org/en/latest/ ... Thanks!
> > _______________________________________________
> > Omaha Python Users Group mailing list
> > Omaha at python.org
> > https://mail.python.org/mailman/listinfo/omaha
> > http://www.OmahaPython.org
> >
>
>
>
> --
> Best,
>
> Jeff Hinrichs
> 402.218.1473
> _______________________________________________
> Omaha Python Users Group mailing list
> Omaha at python.org
> https://mail.python.org/mailman/listinfo/omaha
> http://www.OmahaPython.org
>


More information about the Omaha mailing list