aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/modelresourceexample/models.py2
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)