From 60206e5288d78d1a5e2eccd799350bf96fc27d85 Mon Sep 17 00:00:00 2001 From: tom christie tom@tomchristie.com Date: Thu, 3 Mar 2011 09:02:41 +0000 Subject: ./examples/modelresourceexample/models.py --- examples/modelresourceexample/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/modelresourceexample/models.py b/examples/modelresourceexample/models.py index 16047524..c235d7b3 100644 --- a/examples/modelresourceexample/models.py +++ b/examples/modelresourceexample/models.py @@ -3,7 +3,7 @@ from django.db import models MAX_INSTANCES = 10 class MyModel(models.Model): - foo = models.BooleanField() + foo = models.BooleanField(required=False) bar = models.IntegerField(help_text='Must be an integer.') baz = models.CharField(max_length=32, help_text='Free text. Max length 32 chars.') created = models.DateTimeField(auto_now_add=True) -- cgit v1.2.3