| Commit message (Expand) | Author | Age |
* | Don't use objects.get_or_create() unless required. | Raphaël Barrois | 2013-04-16 |
* | Release v2.0.1v2.0.1 | Raphaël Barrois | 2013-04-16 |
* | Add Dict/List declarations (Closes #18). | Raphaël Barrois | 2013-04-15 |
* | Allow overriding the sequence counter. | Raphaël Barrois | 2013-04-15 |
* | Pylint. | Raphaël Barrois | 2013-04-03 |
* | Add support for get_or_create in DjangoModelFactory. | Raphaël Barrois | 2013-04-02 |
* | Add Factory.FACTORY_HIDDEN_ARGS.•••Fields listed in this class attributes will be removed from the
kwargs dict passed to the associated class for building/creation.
| Raphaël Barrois | 2013-04-02 |
* | Add full Python 3 compatibility (Closes #10, #20, #49).•••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>
| nkryptic | 2013-03-15 |
* | Make the Factory class Py3 compatible.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-03-15 |
* | Merge Factory into BaseFactory.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-03-15 |
* | Fix exception hierarchy.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-03-15 |
* | Merge BaseFactoryMetaClass into FactoryMetaClass.•••Also fix FACTORY_STRATEGY.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-03-15 |
* | Remove unused constants.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-03-15 |
* | Remove automagic associated class discovery. | Raphaël Barrois | 2013-03-11 |
* | Remove building_function/creation_function.•••Stop defaulting to Django's .objects.create().
| Raphaël Barrois | 2013-03-11 |
* | Add FACTORY_CLASS kwarg to make_factory and friends. | Raphaël Barrois | 2013-03-11 |
* | Proper manager fetching in DjangoModelFactory. | Raphaël Barrois | 2013-03-11 |
* | Stop calling Foo.objects.create() when it doesn't break (Closes #23).•••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>
| Raphaël Barrois | 2013-03-05 |
* | Add a 'after post_generation' hook to Factory.•••Use it in DjangoModelFactory to save objects again if a post_generation hook ran.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-03-04 |
* | Get rid of the FACTORY_ABSTRACT rename.•••This was just adding noise to an already complex release.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-03-03 |
* | Happy New Year!•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2013-01-02 |
* | Add classmethod decorator to child factories methods•••Closes #33,#34
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
| obiwanus | 2012-12-09 |
* | Fix pk lookup in _setup_next_sequence method.•••Closes #31
Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
| Eduard Iskandarov | 2012-12-09 |
* | Keep FACTORY_FOR around.•••And add a test too.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | Rename ABSTRACT_FACTORY to FACTORY_ABSTRACT.•••And add a deprecation warning too.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | Add MogoFactory.•••A Factory subclass, along the lines of DjangoModelFactory.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | Add an extension point for kwargs mangling.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | Update docstrings.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | Remove deprecated _*_function class attributes.•••Setting them will still work as intended, though.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | [py3] Rename xrange to range•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | [py3] Remove calls to iteritems().•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-11-15 |
* | Add support for passing non-kwarg parameters to factories.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-08-17 |
* | Add DeprecationWarnings on set_XXX_function.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-08-16 |
* | Refactor building_function/creation_function handling.•••Rely on inheritance instead of handwritten set_creation_function and such.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-08-16 |
* | Mark automatic associated class discovery as deprecated.•••Also improve warning reporting.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-08-16 |
* | Handle the PostGeneration declarations.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
| Raphaël Barrois | 2012-04-15 |
* | Whitespace cleanup•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr>
| Raphaël Barrois | 2012-04-15 |
* | Fix the __str__ method of factory classes. | Raphaël Barrois | 2012-04-07 |
* | Add and document abstract factories (Closes #8).•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-04-07 |
* | Add a '@use_strategy' decorator for forcing alternate strategies.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-03-17 |
* | Add support for 'generate' and 'simple_generate'•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-02-24 |
* | Add batches.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-02-24 |
* | Add a PendingDeprecationWarning on associated class auto-discovery.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-01-13 |
* | Add __repr__ / __str__ to a couple of objects.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-01-12 |
* | Publish the make_factory method, and make sure that complex declarations work...•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-01-06 |
* | Add factory.build(), factory.create(), factory.stub() methods.•••Those are shortcuts for writing a full Factory class.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2012-01-06 |
* | More cleanup and comments in factory.base•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2011-12-21 |
* | Cleanup base module.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2011-12-21 |
* | Add encoding header.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2011-12-21 |
* | Update copyrights.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
| Raphaël Barrois | 2011-12-21 |