jeudi 24 décembre 2015

Should I create a factories.py for each app?

I have a project with few apps and bunch of models with every sort of relationships.

I believe that facory-boy could help me keep my project DRY with a factories.py for each app that can be used on tests and seeds. Is it a valid approach?

Aucun commentaire:

Enregistrer un commentaire