diff options
-rw-r--r-- | docs/changelog.rst | 10 | ||||
-rw-r--r-- | factory/__init__.py | 2 |
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 ( |