diff options
| author | tom christie tom@tomchristie.com | 2011-03-03 09:02:41 +0000 | 
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2011-03-03 09:02:41 +0000 | 
| commit | 60206e5288d78d1a5e2eccd799350bf96fc27d85 (patch) | |
| tree | 0d61e286712503d500db86a6979dc45533c86064 /examples | |
| parent | aad7eacce6ed894c84b0b49567eaccbbe6bf0813 (diff) | |
| download | django-rest-framework-60206e5288d78d1a5e2eccd799350bf96fc27d85.tar.bz2 | |
./examples/modelresourceexample/models.py
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/modelresourceexample/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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) | 
