summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* * New upstream releasedebian/unstableChristopher Baines2016-05-11
| | | | | | | | * Add myself to Uploaders * Add build dependencies on fake-factory and python-ipaddress * Bump Standards-Version to 3.9.8 (no changes required) * Change the gbp.conf upstream-tag to include the v prefix, as this makes git-buildpackage able to find the tags
* Merge tag 'v2.7.0' into debian/unstableChristopher Baines2016-05-11
|\ | | | | | | Release of factory_boy 2.7.0
| * Release version 2.7.0v2.7.0Raphaël Barrois2016-04-19
| |
| * Fix typoJeff Widman2016-04-19
| |
| * Merge pull request #292 from rrauenza/masterRaphaël Barrois2016-04-18
| |\ | | | | | | Add custom error message when django_get_or_create is missing an input.
| | * Add custom error message when django_get_or_create is missing an input.Rich Rauenzahn2016-04-12
| |/
| * Fix a17b036: Error messages have moved.Raphaël Barrois2016-04-07
| |
| * Merge pull request #256 from koterpillar/cyclic-definition-rescueRaphaël Barrois2016-04-07
| |\ | | | | | | Don't leave AttributeBuilder in an inconsistent state on exceptions
| | * Don't leave AttributeBuilder in an inconsistent state on exceptionsAlexey Kotlyarov2015-12-08
| | | | | | | | | | | | | | | | | | When one of the LazyValues raises an exception, don't leave its name in __pending stack of the AttributeBuilder, preventing evaluation of any other LazyValues.
| | * Test LazyValues handling CyclicDefinitionErrorAlexey Kotlyarov2015-12-08
| | |
| * | Merge pull request #285 from ↵Raphaël Barrois2016-04-07
| |\ \ | | | | | | | | | | | | | | | | sampaccoud/feature/add-documentation-and-test-about-factory-parent-attribute Add documentation and test for subfactory using "factory_parent" attribute
| | * | 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.
| * | | Cleanup manifest.Raphaël Barrois2016-04-06
| | | | | | | | | | | | | | | | Also, use check_manifest to check for MANIFEST.in / git mismatches.
| * | | Refactor test setup/commands, enable tox.Raphaël Barrois2016-04-06
| |/ / | | | | | | | | | Closes #273.
| * | Plan for 2.7.0 release.Raphaël Barrois2016-04-02
| | |
| * | Add Traits (Closes #251).Raphaël Barrois2016-04-02
| | | | | | | | | | | | | | | | | | Based on a boolean flag, those will alter the definitions of the current factory, taking precedence over pre-defined behavior but overridden by callsite-level arguments.
| * | Add a new Params section to factories.Raphaël Barrois2016-04-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handles parameters that alter the declarations of a factory. A few technical notes: - A parameter's outcome may alter other parameters - In order to fix that, we perform a (simple) cyclic definition detection at class declaration time. - Parameters may only be either naked values or ComplexParameter subclasses - Parameters are never passed to the underlying class
| * | Refactor: move error defs to a dedicated module.Raphaël Barrois2016-04-02
| | |
| * | docs: Del obsolete note on abstract Django modelsRaphaël Barrois2016-03-12
| | | | | | | | | | | | | | | | | | | | | That section described code required when factory_boy was automagically computing sequence numbers from the current PK value. Closes #280
| * | django: Clarify behavior around ``abstract=True``Raphaël Barrois2016-03-12
| | | | | | | | | | | | See issue #280.
| * | Merge pull request #278 from bors-ltd/masterRaphaël Barrois2016-03-04
| |\ \ | | | | | | | | Stop advertising factory_boy supports Python 2.6
| | * | Stop advertising factory_boy supports Python 2.6Hervé Cauwelier2016-03-04
| | | | | | | | | | | | | | | | Support was already gone with literal sets.
| * | | docs: Add a proper recipe for dumping to dictRaphaël Barrois2016-02-23
| | | | | | | | | | | | | | | | This trick should help with #68.
| * | | Add test for "build as dict" trick (See #68).Raphaël Barrois2016-02-23
| | | |
| * | | Add note about deprecate/remove Fuzzy attributesJeff Widman2016-02-21
| | | | | | | | | | | | | | | | | | | | | | | | Full discussion in https://github.com/rbarrois/factory_boy/issues/271 Wanted to get something mentioned in the docs immediately.
| * | | Merge pull request #252 from jmcarp/patch-1Raphaël Barrois2016-02-21
| |\ \ \ | | | | | | | | | | Clarify sequence behavior on inheritance
| | * | | Clarify sequence behavior on inheritanceJoshua Carp2015-11-23
| | | |/ | | |/| | | | | Sequences are only shared via inheritance if the model of the subclass is the same as or a subclass of the model of the parent class. Clarify the docs on this point.
| * | | Switch Travis builds to the container-based infrastructureJeff Widman2016-02-19
| | | | | | | | | | | | https://docs.travis-ci.com/user/migrating-from-legacy/
| * | | fuzzy: Minor cleanup in BaseFuzzyDateTimeRaphaël Barrois2016-02-15
| | | | | | | | | | | | | | | | | | | | The ``_now()`` method wasn't declared on the base class, only in its subclasses.
| * | | Merge pull request #267 from bors-ltd/masterRaphaël Barrois2016-02-14
| |\ \ \ | | | |/ | | |/| factory: LazyFunction to just call a function in the simplest case
| | * | factory: LazyFunction to just call a function in the simplest caseHervé Cauwelier2016-02-12
| | | | | | | | | | | | | | | | No need to wrap it in a lambda to strip the object argument from LazyAttribute or the sequence argument from Sequence.
| * | | Merge pull request #269 from yamaneko1212/masterRaphaël Barrois2016-02-14
| |\ \ \ | | |/ / | |/| | Remove a nonexisting argument "tz" from FuzzyDateTime docs
| | * | Remove a nonexisting argumen "tz"yamaneko2016-02-13
| |/ /
| * | Add ChangeLog for 2.6.1Raphaël Barrois2016-02-10
| | |
* | | * New upstream release.Ondřej Nový2016-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Added python(3)-wheel build dependency. * Fixed VCS url (https). * Removed disable-a-test-in-test_existing_file.patch * Removed add-django-1.7-compat-with-new-django.setup.patch * Rebased and fixed debian/patches/removed-privacy-breach.patch * d/copyright fixed.
* | | Merge tag '2.6.1' into debian/unstableOndřej Nový2016-02-14
|\| | | | | | | | | | | Release of factory_boy 2.6.1
| * | Release v2.6.1v2.6.12.6.1Raphaël Barrois2016-02-10
| | |
| * | Document mailing-listRaphaël Barrois2016-02-10
| | |
| * | Update README: support 2.6-3.5Raphaël Barrois2016-02-10
| | |
| * | Announce support for Python3.5Raphaël Barrois2016-02-10
| | |
| * | Switch badges to shields.ioRaphaël Barrois2016-02-10
| | |
| * | Merge pull request #129 from anentropic/masterRaphaël Barrois2016-02-09
| |\ \ | | | | | | | | Make safe repr more safe
| | * | Update utils.pyanentropic2014-03-13
| | | |
| | * | Make safe repr more safeanentropic2014-02-03
| | | |
| * | | Merge pull request #258 from mluszczyk/patch-1Raphaël Barrois2016-02-09
| |\ \ \ | | | | | | | | | | Fixed spelling of word "independent".
| | * | | Fixed spelling.mluszczyk2015-12-28
| | | |/ | | |/|
| * | | Merge remote-tracking branch 'minjung/flushing_sqlalchemy_factory'Raphaël Barrois2016-02-10
| |\ \ \
| | * | | added unittests for rbarrois/factory_boy#81Alejandro2016-01-07
| | | | |
| | * | | optional forced flush on SQLAlchemyModelFactoryAlejandro2016-01-06
| | |/ / | | | | | | | | | | | | fixes rbarrois/factory_boy#81
| * | | Update testing targets (Closes #265)Raphaël Barrois2016-02-10
| | | | | | | | | | | | | | | | Thanks to @jeffwidman for suggesting this!