aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polyconseil.fr>2013-04-16 11:33:00 +0200
committerRaphaël Barrois <raphael.barrois@polyconseil.fr>2013-04-16 11:33:00 +0200
commit876845102c4a217496d0f6435bfe1e3726d31fe4 (patch)
tree064d7bbbe038a521c949627acac320687cb755fe
parentef5011d7d28cc7034e07dc75a6661a0253c0fe1d (diff)
downloadfactory-boy-876845102c4a217496d0f6435bfe1e3726d31fe4.tar
factory-boy-876845102c4a217496d0f6435bfe1e3726d31fe4.tar.gz
Release v2.0.2v2.0.22.0.2
-rw-r--r--docs/changelog.rst10
-rw-r--r--factory/__init__.py2
2 files changed, 11 insertions, 1 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 76e2d43..173c40f 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -1,6 +1,15 @@
ChangeLog
=========
+2.0.2 (2013-04-16)
+------------------
+
+*New:*
+
+ - When :attr:`~factory.DjangoModelFactory.FACTORY_DJANGO_GET_OR_CREATE` is
+ empty, use ``Model.objects.create()`` instead of ``Model.objects.get_or_create``.
+
+
2.0.1 (2013-04-16)
------------------
@@ -9,6 +18,7 @@ ChangeLog
- Don't push ``defaults`` to ``get_or_create`` when
:attr:`~factory.DjangoModelFactory.FACTORY_DJANGO_GET_OR_CREATE` is not set.
+
2.0.0 (2013-04-15)
------------------
diff --git a/factory/__init__.py b/factory/__init__.py
index 939500c..e1138fa 100644
--- a/factory/__init__.py
+++ b/factory/__init__.py
@@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-__version__ = '2.0.1'
+__version__ = '2.0.2'
__author__ = 'Raphaël Barrois <raphael.barrois+fboy@polytechnique.org>'
from .base import (