diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2015-03-26 23:31:56 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2015-03-26 23:31:56 +0100 |
commit | 4e0e563c1c0d823d2869d340e2fa31ca8630d854 (patch) | |
tree | 340f2947d2b1ffaa69413b183aa9da5caeca16ad /docs | |
parent | a456a9e3f440e5f61497e97d75dd0a15efe71a8d (diff) | |
download | factory-boy-4e0e563c1c0d823d2869d340e2fa31ca8630d854.tar factory-boy-4e0e563c1c0d823d2869d340e2fa31ca8630d854.tar.gz |
Turn FileField/ImageField into normal fields (Closes #141).
Previously, they ran as post_generation hooks, meaning that they
couldn't be checked in a model's ``save()`` method, for instance.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/changelog.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst index a6ca79e..c2731ef 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -12,6 +12,7 @@ ChangeLog - Add support for getting/setting :mod:`factory.fuzzy`'s random state (see :issue:`175`, :issue:`185`). - Support lazy evaluation of iterables in :class:`factory.fuzzy.FuzzyChoice` (see :issue:`184`). - Support non-default databases at the factory level (see :issue:`171`) + - Make :class:`factory.django.FileField` and :class:`factory.django.ImageField` non-post_generation, i.e normal fields also available in ``save()`` (see :issue:`141`). *Bugfix:* |