summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | test_mongoengine: fix typoRaphaël Barrois2015-04-12
| | |
| * | mongoengine: allow tuning the server timeout.Raphaël Barrois2015-04-12
| | | | | | | | | | | | So that it doesn't fail on ci...
| * | Fix tests with latest pymongo/mongoengine.Raphaël Barrois2015-04-12
| | | | | | | | | | | | | | | | | | | | | mongoengine>=0.9.0 and pymongo>=2.1 require extra parameters: - The server connection timeout was set too high - We have to define a ``read_preference``.
| * | Fix imports for Django 1.8Raphaël Barrois2015-04-02
| | |
| * | Fix custom queryset tests for Django<1.7Raphaël Barrois2015-03-27
| | |
| * | Release v2.5.1v2.5.1Raphaël Barrois2015-03-27
| | |
| * | Support declarations in FileField/ImageField.Raphaël Barrois2015-03-27
| | | | | | | | | | | | Previously, the declarations (``factory.Sequence`` & co) weren't properly computed.
| * | Respect default manager in DjangoModelFactory (Closes #192).Raphaël Barrois2015-03-27
| | | | | | | | | | | | | | | The previous version tries to use ``cls._default_manager`` all the time, which breaks with ``manager.using(db_name)``.
| * | Remove debug printsRaphaël Barrois2015-03-27
| | |
| * | Add upgrade instructions for 2.5.0Raphaël Barrois2015-03-27
| | |
| * | Clarify impacts of 2.5.0.Raphaël Barrois2015-03-26
| | |
| * | Update header years.Raphaël Barrois2015-03-26
| | |
| * | Get ready for next release.Raphaël Barrois2015-03-26
| | |
| * | Release v2.5.0v2.5.0Raphaël Barrois2015-03-26
| | |
| * | Turn FileField/ImageField into normal fields (Closes #141).Raphaël Barrois2015-03-26
| | | | | | | | | | | | | | | Previously, they ran as post_generation hooks, meaning that they couldn't be checked in a model's ``save()`` method, for instance.
| * | Remove limitations of factory.StubFactory (Closes #131).Raphaël Barrois2015-03-26
| | | | | | | | | | | | | | | ``StubFactory.build()`` is now supported, and maps to ``StubFactory.stub()``.
| * | Add support for multidb with Django (Closes #171).Raphaël Barrois2015-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ``factory.django.DjangoModelFactory`` now takes an extra option: ``` class MyFactory(factory.django.DjangoModelFactory): class Meta: model = models.MyModel database = 'replica' ``` This will create all instances of ``models.Model`` in the ``'replica'`` database.
| * | Fix issues between mute_signals() and factory inheritance (Closes #183).Raphaël Barrois2015-03-26
| | | | | | | | | | | | | | | | | | Previously, if a factory was decorated with ``@mute_signals`` and one of its descendant called another one of its descendant, signals weren't unmuted properly.
| * | Allow lazy evaluation of FuzzyChoice's iterators (Closes #184).Raphaël Barrois2015-03-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the following idiom: ``user = factory.fuzzy.FuzzyChoice(User.objects.all())`` Previously, the ``User.objects.all()`` queryset would have been evaluated *at import time*; it is now evaluated with the first use of the ``FuzzyChoice``.
| * | Fix typo in FuzzyDateTime (Closes #189).Raphaël Barrois2015-03-26
| | | | | | | | | | | | Thanks to @shinuza for spotting this!
| * | Logs: Allow non-integer sequences (Closes #148).Raphaël Barrois2015-03-03
| | | | | | | | | | | | As pointed by @glinmac.
| * | Docs: fix default strategy (Closes #158).Raphaël Barrois2015-03-03
| | |
| * | Fix bad default value for Factory.declarations (Closes #162).Raphaël Barrois2015-03-03
| | |
| * | Fix typos in docs (Closes #159, closes #178, closes #188).Raphaël Barrois2015-03-03
| | |
| * | Remove sphinx markup from README.rst (Closes #180).Raphaël Barrois2015-02-18
| | | | | | | | | | | | | | | That file should be readable by PyPI's RST parser, which doesn't support Sphinx constructs.
| * | Enable resetting factory.fuzzy's random generator (Closes #175, #185).Raphaël Barrois2015-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Users may now call ``factory.fuzzy.get_random_state()`` to retrieve the current random generator's state (isolated from the one used in Python's ``random``). That state can then be reinjected with ``factory.fuzzy.set_random_state(state)``.
| * | docs: Improve explanation of SQLAlchemy's scoped_session.Raphaël Barrois2015-02-06
| | |
| * | docs: Add explanations about SQLAlchemy's scoped_session.Raphaël Barrois2015-02-06
| | |
| * | Fix reference docs (Closes #166, #167).Raphaël Barrois2014-11-25
| | | | | | | | | | | | | | | | | | | | | | | | Use ``obj`` for ``@post_generation``-decorated methods, instead of ``self``: this makes it clearer that the ``obj`` is an instance of the model, and not of the ``Factory``. Thanks to @jamescooke & @NiklasMM for spotting the typo.
| * | Fix typo in docsRaphaël Barrois2014-11-18
| | |
| * | Remove deprecated features.Raphaël Barrois2014-11-18
| | | | | | | | | | | | | | | This disables the ``FACTORY_FOR`` syntax and related parameters, that should be declared through ``class Meta``.
| * | Remove automagic pk-based sequence setupRaphaël Barrois2014-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to issues #78, #92, #103, #111, #153, #170 The default value of all sequences is now 0; the automagic ``_setup_next_sequence`` behavior of Django/SQLAlchemy has been removed. This feature's only goal was to allow the following scenario: 1. Run a Python script that uses MyFactory.create() a couple of times (with a unique field based on the sequence counter) 2. Run the same Python script a second time Without the magical ``_setup_next_sequence``, the Sequence counter would be set to 0 at the beginning of each script run, so both runs would generate objects with the same values for the unique field ; thus conflicting and crashing. The above behavior having only a very limited use and bringing various issues (hitting the database on ``build()``, problems with non-integer or composite primary key columns, ...), it has been removed. It could still be emulated through custom ``_setup_next_sequence`` methods, or by calling ``MyFactory.reset_sequence()``.
| * | Add docs for manual sequence counter managementRaphaël Barrois2014-11-16
| | |
| * | Add tests for self-referential models (See #173).Raphaël Barrois2014-11-02
| | |
| * | Fix travis.ymlRaphaël Barrois2014-09-03
| | |
| * | Fix support for Django 1.7.Raphaël Barrois2014-09-03
| | |
| * | Django1.7 is out, let's not test it on Python2.6Raphaël Barrois2014-09-03
| | |
| * | Fix typo in docs (Closes #157).Raphaël Barrois2014-09-03
| | |
| * | Fix test running without django (Closes #161).Raphaël Barrois2014-09-03
| | |
| * | tests: Update to Django new 'duplicate file' mechanism.Raphaël Barrois2014-08-21
| | |
* | | Fixed gbp.confdebian/2.4.1-4Thomas Goirand2015-06-01
| | |
* | | Removes .pth file.Thomas Goirand2015-06-01
| | |
* | | Added Suggests: python-factory-boy-doc (Closes: #787282).Thomas Goirand2015-06-01
| | |
* | | Standards-Version is now 3.9.6 (no change).debian/2.4.1-3Thomas Goirand2014-10-12
| | |
* | | * Add a patch to call django.setup() if using Django 1.7 in the unit tests.Thomas Goirand2014-10-12
| | | | | | | | | | | | This fixes FTBFS (Closes: #764837).
* | | Disabled broken a test (Closes: #759914).debian/2.4.1-2Thomas Goirand2014-08-31
| | |
* | | Added debian/patches/removed-privacy-breach.patchdebian/2.4.1-1Thomas Goirand2014-07-03
| | |
* | | changelog closes #753558Thomas Goirand2014-07-03
| | |
* | | Added Python3 support and sphinx doc.Thomas Goirand2014-07-03
| | |
* | | Fixed debian/copyright with authorsThomas Goirand2014-07-03
| | |