Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |
| | |||
* | Add tests for self-referential models (See #173). | Raphaël Barrois | 2014-11-02 |
| | |||
* | Fix travis.yml | Raphaël Barrois | 2014-09-03 |
| | |||
* | Fix support for Django 1.7. | Raphaël Barrois | 2014-09-03 |
| | |||
* | Django1.7 is out, let's not test it on Python2.6 | Raphaël Barrois | 2014-09-03 |
| | |||
* | Fix typo in docs (Closes #157). | Raphaël Barrois | 2014-09-03 |
| | |||
* | Fix test running without django (Closes #161). | Raphaël Barrois | 2014-09-03 |
| | |||
* | tests: Update to Django new 'duplicate file' mechanism. | Raphaël Barrois | 2014-08-21 |
| | |||
* | Release v2.4.1v2.4.12.4.1 | Raphaël Barrois | 2014-06-23 |
| | |||
* | Fix declaration inheritance. | Raphaël Barrois | 2014-06-23 |
| | |||
* | Fix typo (Closes #144). | Raphaël Barrois | 2014-06-21 |
| | | | | Thanks to @clouserw for the report. | ||
* | Release v2.4.0v2.4.0 | Raphaël Barrois | 2014-06-21 |
| | |||
* | Provide readable errors when Meta.model isn't set (Closes #137). | 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 |
| | |||
* | Fix test_deprecation test. | Raphaël Barrois | 2014-05-18 |
| | |||
* | 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 |
| | |||
* | Add DeprecationWarning for FACTORY_* kwargs | Raphaël Barrois | 2014-05-18 |
| | |||
* | Remove containers.DeclarationsDict. | Raphaël Barrois | 2014-05-18 |
| | | | | Now replaced with a simple dict. | ||
* | Switch tests to class Meta. | Raphaël Barrois | 2014-05-18 |
| | |||
* | Add tests for class Meta | Raphaël Barrois | 2014-05-18 |
| | |||
* | Migrate factory.alchemy to class Meta | Raphaël Barrois | 2014-05-18 |
| | |||
* | factory.django: Fix counter inheritance with abstract models. | Raphaël Barrois | 2014-05-18 |
| | |||
* | Switch FACTORY_FOR and related to 'class Meta'. | Raphaël Barrois | 2014-05-18 |
| | | | | | | | This is easier to declare, avoids cluttering the namespace, and provides entry points for ORM-specific customization. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Improve README. | Raphaël Barrois | 2014-05-17 |
| | |||
* | Fix 'gif' image tests. | Raphaël Barrois | 2014-04-20 |
| | | | | The latest pillow has changed the default gif palette, so we'll use a normalized RGB palette instead. | ||
* | Add test ensuring that classmethods aren't altered (See #135). | Raphaël Barrois | 2014-02-28 |
| | |||
* | 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 |
| | | |||
* | | fuzzy: Add FuzzyFloat (Closes #124). | Raphaël Barrois | 2014-01-22 |
| | | | | | | | | As suggested by @savingschampion | ||
* | | Merge branch 'maint/2.3.x' | Raphaël Barrois | 2014-01-22 |
|\| | |||
| * | Fix log_pprint for *args (Closes #127). | Raphaël Barrois | 2014-01-22 |
| | | |||
* | | 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 |
| | | |||
| * | Fix log_pprint (Closes #123). | Raphaël Barrois | 2014-01-22 |
| | | |||
* | | Fix mute_signals' decorator. | Raphaël Barrois | 2014-01-22 |
| | | |||
* | | Fix log_pprint (Closes #123). | Raphaël Barrois | 2014-01-22 |
| | | |||
* | | Update requirements | Raphaël Barrois | 2014-01-21 |
| | | |||
* | | Add doc for factory.django.mute_signals. | Raphaël Barrois | 2014-01-21 |
| | | |||
* | | Improve mute_signals (Closes #122). | Raphaël Barrois | 2014-01-21 |
| | | |||
* | | Added "prevent_signals" decorator/context manager | Ilya Pirogov | 2014-01-21 |
| | |