From 2769e79796587eb01521d657bf97131e8049e2c2 Mon Sep 17 00:00:00 2001 From: Trey Hunner Date: Wed, 27 Mar 2013 22:43:21 -0700 Subject: [PATCH 1/2] Fix BooleanField default (for Django trunk) --- model_utils/tests/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_utils/tests/models.py b/model_utils/tests/models.py index 9e2cfe7..0513a45 100644 --- a/model_utils/tests/models.py +++ b/model_utils/tests/models.py @@ -191,7 +191,7 @@ class AbidingManager(PassThroughManager): class Dude(models.Model): abides = models.BooleanField(default=True) name = models.CharField(max_length=20) - has_rug = models.BooleanField() + has_rug = models.BooleanField(default=False) objects = PassThroughManager(DudeQuerySet) abiders = AbidingManager() From d0fb3216cbc4a0414f85355df46e097d488ef896 Mon Sep 17 00:00:00 2001 From: Trey Hunner Date: Wed, 27 Mar 2013 20:49:27 -0700 Subject: [PATCH 2/2] Add badge for Travis CI to README file --- README.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.rst b/README.rst index 5589608..93fb8be 100644 --- a/README.rst +++ b/README.rst @@ -2,6 +2,9 @@ django-model-utils ================== +.. image:: https://secure.travis-ci.org/carljm/django-model-utils.png + :target: http://travis-ci.org/carljm/django-model-utils + Django model mixins and utilities. Installation