From 09a0b5da5d9c97aa6b0f7b1a4691e91ee9a6bde3 Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 25 Feb 2009 11:53:23 -0500 Subject: [PATCH] added description and allow_anonymous_ideas fields --- brainstorm/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/brainstorm/models.py b/brainstorm/models.py index bbd35e9..26fd3fa 100644 --- a/brainstorm/models.py +++ b/brainstorm/models.py @@ -8,10 +8,12 @@ import secretballot class Subsite(models.Model): slug = models.SlugField(max_length=50, primary_key=True) name = models.CharField(max_length=50) + description = models.TextField() - theme = models.CharField(max_length=100) + theme = models.CharField(help_text='name of base theme template', max_length=100) ideas_per_page = models.IntegerField(default=10) + allow_anonymous_ideas = models.BooleanField(default=False) def __unicode__(self): return self.name