summaryrefslogtreecommitdiff
path: root/docs/recipes.rst
Commit message (Collapse)AuthorAge
* Add documentation and test for subfactory using "factory_parent" attributeSamuel Paccoud2016-04-03
| | | | | | | | | Add documentation on how to use a LazyAttribute in a SubFactory and poke the "factory_parent" attribute to indirectly derive the value of a field on the child factory from a field on the parent factory. This commit adds an example to recipes that explains how it can be done. It also adds a test to make sure that this feature continues to work as is now described in the documentation.
* docs: Add a proper recipe for dumping to dictRaphaël Barrois2016-02-23
| | | | This trick should help with #68.
* Add ChangeLog for 2.6.1Raphaël Barrois2016-02-10
|
* Docs: Fix typo in M2M recipes (Closes #226)Raphaël Barrois2015-10-20
| | | | As spotted by @stephane, thanks!
* Add lazy loading to factory.Iterator.Raphaël Barrois2015-05-24
| | | | | | | | | | | factory.Iterator no longers begins iteration of its argument on declaration, since this behavior may trigger database query when that argument is, for instance, a Django queryset. The ``factory.Iterator``'s argument will only be called when the containing ``Factory`` is first evaluated; this means that factories using ``factory.Iterator(models.MyThingy.objects.all())`` will no longer call the database at import time.
* Add docs for manual sequence counter managementRaphaël Barrois2014-11-16
|
* Rename 'target' to 'model'.Raphaël Barrois2014-05-18
|
* Update docs for class Meta.Raphaël Barrois2014-05-18
|
* TypoRaphaël Barrois2014-01-26
|
* Document custom manager method recipe (Closes #119).Robrecht De Rouck2013-12-30
|
* Fix undefined error in profile examplealex-netquity2013-09-09
| | | The Django’s Profile example references `UserFactory` before its definition. The fix is to use the fully-qualified path to the class in question.
* doc: Fix 'ProfileFactory' doc.Raphaël Barrois2013-08-13
|
* Move DjangoModelFactory / MogoFactory to their own modules.Raphaël Barrois2013-06-09
|
* docs: Add recipe for disconnecting signals (Closes #59).Raphaël Barrois2013-05-03
|
* doc: Add m2m recipes (Closes #29).Raphaël Barrois2013-03-05
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* doc: Add recipe for SelfAttribute('..X').Raphaël Barrois2013-03-03
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Rewrite the whole documentation.Raphaël Barrois2013-03-03
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>