diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-08-13 12:06:52 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-08-13 12:11:09 +0200 |
commit | 2796de70d5bed4cfff5749085ce4e6f16eba1b1e (patch) | |
tree | 71fbfd55fdebfce3faf44426731d7dd7bbf78efd /docs/changelog.rst | |
parent | 5730d4ac18f8684c37168033ef32d1ee31f5e4a1 (diff) | |
download | factory-boy-2796de70d5bed4cfff5749085ce4e6f16eba1b1e.tar factory-boy-2796de70d5bed4cfff5749085ce4e6f16eba1b1e.tar.gz |
Make ABSTRACT_FACTORY optional (Closes #74)
It will be automatically set to True if neither the Factory subclass nor
its parents define a FACTORY_FOR argument.
It can also be set on a Factory subclass to prevent it from being
called.
Diffstat (limited to 'docs/changelog.rst')
-rw-r--r-- | docs/changelog.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst index f9302ad..ec47b14 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,17 @@ ChangeLog ========= +.. _v2.1.2: + +2.1.2 (current) +--------------- + +*New:* + + - The :class:`~factory.Factory.ABSTRACT_FACTORY` keyword is now optional, and automatically set + to ``True`` if neither the :class:`~factory.Factory` subclass nor its parent declare the + :class:`~factory.Factory.FACTORY_FOR` attribute (:issue:`74`) + .. _v2.1.1: |