If I have some grouped choices for a models.IntegerField, how can I set the default value to a combination of those choices
ex:
class ForumThread():
STATE_CHOICES = (
('Sticky', (
(True, 'True'),
(False, 'False') ) ),
('Blocked', (
(False, 'False')
(True, 'True') ) ),
)
name = models.CharField(max_length= 256)
description = models.CharField(max_length= 256)
state = models.IntegerField(choices= STATE_CHOICES)
for this class I want to set the default for the 'state' field to Blocked -> False and Sticky -> False
Thanks