summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAge
* Add support for get_or_create in DjangoModelFactory.Raphaël Barrois2013-04-02
|
* Add Factory.FACTORY_HIDDEN_ARGS.Raphaël Barrois2013-04-02
| | | | | Fields listed in this class attributes will be removed from the kwargs dict passed to the associated class for building/creation.
* Default Sequence.type to int (Closes #50).Raphaël Barrois2013-03-24
|
* Add full Python 3 compatibility (Closes #10, #20, #49).nkryptic2013-03-15
| | | | | | | | Also: - update travis.yml to build against 2.6-2.7 and 3.2-3.3 - Switch to relative imports Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Merge BaseFactoryMetaClass into FactoryMetaClass.Raphaël Barrois2013-03-15
| | | | | | Also fix FACTORY_STRATEGY. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Remove extract_prefix from post-generation hooks.Raphaël Barrois2013-03-11
| | | | Magic abuse is bad.
* Remove CircularSubFactory.Raphaël Barrois2013-03-11
| | | | Replace CircularSubFactory('module', 'symbol') with SubFactory('module.symbol').
* Remove InfiniteIterator and infinite_iterator.Raphaël Barrois2013-03-11
| | | | Use Iterator/iterator instead.
* Doc: Add mission 'versionadded' tag.Raphaël Barrois2013-03-11
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* doc: Fix rst.Raphaël Barrois2013-03-11
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add FACTORY_CLASS kwarg to make_factory and friends.Raphaël Barrois2013-03-11
|
* Version bump to 1.3.0v1.3.0Raphaël Barrois2013-03-11
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Merge documentation for PostGenerationMethodCall.Chris Lasher2013-03-11
| | | | | | | | | | This merges in changes provided by gotgenes to the previous PostGeneration documentation to the new documentation provided by rbarrois. This documentation relates to the new functionality of overriding default arguments to declarations of PostGenerationMethodCall. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Stop calling Foo.objects.create() when it doesn't break (Closes #23).Raphaël Barrois2013-03-05
| | | | | | | | | This will be properly fixed in v2.0.0; the current heuristic is: - If the user defined a custom _create method, use it - If he didn't, but the associated class has a objects attribute, use TheClass.objects.create(*args, **kwargs) - Otherwise, simply call TheClass(*args, **kwargs). Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* doc: Add m2m recipes (Closes #29).Raphaël Barrois2013-03-05
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve doc on post-generation hooks (Closes #36).Raphaël Barrois2013-03-05
| | | | | | This was the last missing bit from PR#36 by @gotgenes. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Cleanup argument extraction in PostGenMethod (See #36).Raphaël Barrois2013-03-05
| | | | | | | This provides a consistent behaviour for extracting arguments to a PostGenerationMethodCall. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add a 'after post_generation' hook to Factory.Raphaël Barrois2013-03-04
| | | | | | Use it in DjangoModelFactory to save objects again if a post_generation hook ran. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Allow symbol names in RelatedFactory (Closes #30).Raphaël Barrois2013-03-03
| | | | | | This works exactly as for SubFactory. 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>
* Update ChangeLog for 1.3.0Raphaël Barrois2013-03-03
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Get rid of the FACTORY_ABSTRACT rename.Raphaël Barrois2013-03-03
| | | | | | This was just adding noise to an already complex release. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve Iterator and SubFactory declarations.Raphaël Barrois2013-03-03
| | | | | | | | | | | | * Iterator now cycles by default * Iterator can be provided with a custom getter * SubFactory accepts a factory import path as well Deprecates: * InfiniteIterator * CircularSubFactory 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>
* Fix version numbering.Raphaël Barrois2012-12-09
| | | | | | Somehow, I forgot that I had release 1.2.0 :/ Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Update docRaphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Update ChangeLog.Raphaël Barrois2012-11-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add roadmap for 2.0.0.Raphaël Barrois2012-08-17
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add support for passing non-kwarg parameters to factories.Raphaël Barrois2012-08-17
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add ChangeLog.Raphaël Barrois2012-08-17
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Introduce 'CircularSubFactory.Raphaël Barrois2012-08-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Better version computing code.Raphaël Barrois2012-08-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Update doc version.Raphaël Barrois2012-07-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Typo: thoughtbot (fixes link too)Michael Joseph2012-06-06
|
* Typo.Michael Joseph2012-06-06
|
* Fix typo in docs/subfactory.rst (Closes #13).Raphaël Barrois2012-05-01
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add doc for post_generation hooks.Raphaël Barrois2012-04-15
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
* Add MANIFEST.in entries for docs and tests.Raphaël Barrois2012-03-09
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Version bump.v1.1.2Raphaël Barrois2012-02-24
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Version bumpv1.1.1Raphaël Barrois2012-02-24
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Improve docs.Raphaël Barrois2012-02-24
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add examples to the doc.Raphaël Barrois2012-01-08
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add docs for SubFactory.Raphaël Barrois2012-01-06
| | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
* Add first draft of a documentation.Raphaël Barrois2011-12-20
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>