Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Allow lazy evaluation of FuzzyChoice's iterators (Closes #184). | Raphaël Barrois | 2015-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``. | ||
* | Docs: fix default strategy (Closes #158). | Raphaël Barrois | 2015-03-03 |
| | |||
* | Fix typos in docs (Closes #159, closes #178, closes #188). | Raphaël Barrois | 2015-03-03 |
| | |||
* | Enable resetting factory.fuzzy's random generator (Closes #175, #185). | Raphaël Barrois | 2015-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 Barrois | 2015-02-06 |
| | |||
* | docs: Add explanations about SQLAlchemy's scoped_session. | Raphaël Barrois | 2015-02-06 |
| | |||
* | Fix reference docs (Closes #166, #167). | Raphaël Barrois | 2014-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 docs | Raphaël Barrois | 2014-11-18 |
| | |||
* | Remove deprecated features. | Raphaël Barrois | 2014-11-18 |
| | | | | | This disables the ``FACTORY_FOR`` syntax and related parameters, that should be declared through ``class Meta``. | ||
* | Remove automagic pk-based sequence setup | Raphaël Barrois | 2014-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 management | Raphaël Barrois | 2014-11-16 |
| | |||
* | Fix typo in docs (Closes #157). | Raphaël Barrois | 2014-09-03 |
| | |||
* | Release v2.4.1v2.4.12.4.1 | Raphaël Barrois | 2014-06-23 |
| | |||
* | Release v2.4.0v2.4.0 | Raphaël Barrois | 2014-06-21 |
| | |||
* | doc: Document upgrade path for FACTORY_*. | Raphaël Barrois | 2014-05-31 |
| | |||
* | Introduce back missing doc about migrating FACTROY_DJANGO_GET_OR_CREATE. | Raphaël Barrois | 2014-05-21 |
| | |||
* | Improve docs on create_batch (Closes #139). | Raphaël Barrois | 2014-05-18 |
| | |||
* | Update ideas. | Raphaël Barrois | 2014-05-18 |
| | |||
* | Rename hidden/arg_parameters to exclude/inline_args. | Raphaël Barrois | 2014-05-18 |
| | |||
* | Rename 'target' to 'model'. | Raphaël Barrois | 2014-05-18 |
| | |||
* | Update docs for class Meta. | Raphaël Barrois | 2014-05-18 |
| | |||
* | Update ChangeLog | Raphaël Barrois | 2014-05-18 |
| | |||
* | Typo | Raphaël Barrois | 2014-01-26 |
| | |||
* | Merge branch 'maint/2.3.x' | Raphaël Barrois | 2014-01-22 |
|\ | |||
| * | Release v2.3.1v2.3.12.3.1 | Raphaël Barrois | 2014-01-22 |
| | | |||
| * | Fix log_pprint for *args (Closes #127). | Raphaël Barrois | 2014-01-22 |
| | | |||
* | | fuzzy: Add FuzzyFloat (Closes #124). | Raphaël Barrois | 2014-01-22 |
| | | | | | | | | As suggested by @savingschampion | ||
* | | Fix log_pprint for *args (Closes #127). | Raphaël Barrois | 2014-01-22 |
| | | |||
* | | Merge branch 'maint/2.3.x' | Raphaël Barrois | 2014-01-22 |
|\| | |||
| * | Update ChangeLog. | Raphaël Barrois | 2014-01-22 |
| | | |||
* | | Add doc for factory.django.mute_signals. | Raphaël Barrois | 2014-01-21 |
| | | |||
* | | Merge branch 'maint/2.3.x' | Raphaël Barrois | 2014-01-21 |
|\| | | | | | | | | | Conflicts: docs/changelog.rst | ||
| * | Update ChangeLog | Raphaël Barrois | 2014-01-21 |
| | | |||
* | | Document custom manager method recipe (Closes #119). | Robrecht De Rouck | 2013-12-30 |
| | | |||
* | | Document FuzzyInteger.step | Raphaël Barrois | 2013-12-30 |
|/ | |||
* | Release v2.3.0v2.3.0 | Raphaël Barrois | 2013-12-25 |
| | |||
* | Add doc for MongoEngineFactory's support of EmbeddedDocument. | Raphaël Barrois | 2013-12-25 |
| | | | | Closes #100, #112. | ||
* | Fix typo spotted by @philipkimmey (Closes #110). | Raphaël Barrois | 2013-11-25 |
| | |||
* | Style fixes for FuzzyDecimal (Closes #94). | Raphaël Barrois | 2013-10-29 |
| | |||
* | Added a Fuzzy Decimal attribute. | Omer | 2013-10-29 |
| | |||
* | Update Changelog with FuzzyText (Closes #97). | Raphaël Barrois | 2013-10-29 |
| | |||
* | Added FuzzyText attribute. | Jon Dufresne | 2013-10-29 |
| | | | | Useful for unique model attributes where the specific value can be fuzzy. | ||
* | doc: Fix typo in django notes. | Raphaël Barrois | 2013-10-05 |
| | |||
* | Fix Django sequences with abstract base models. | Raphaël Barrois | 2013-09-25 |
| | |||
* | Release v2.2.0v2.2.0 | Raphaël Barrois | 2013-09-24 |
| | |||
* | Properly handle Sequence & inheritance (Closes #93). | Raphaël Barrois | 2013-09-17 |
| | | | | | There was also a nasty bug: with class FactoryB(FactoryA), FactoryB's sequence counter started at the value of FactoryA's counter when FactoryB was first called. | ||
* | Add 'factory.debug' context manager. | Raphaël Barrois | 2013-09-17 |
| | |||
* | Adding factory support for mongoengine (Closes #89). | Jonathan Tushman | 2013-09-13 |
| | |||
* | Fix undefined error in profile example | alex-netquity | 2013-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. | ||
* | Update ChangeLog | Raphaël Barrois | 2013-08-28 |
| |