From 82e30d6b56ffa7b38196662478ba37741d44a200 Mon Sep 17 00:00:00 2001 From: sanj Date: Thu, 9 Dec 2010 20:26:47 +0100 Subject: [PATCH] added fields --- padmaTexts/texts/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/padmaTexts/texts/models.py b/padmaTexts/texts/models.py index 150c2f7..484254a 100644 --- a/padmaTexts/texts/models.py +++ b/padmaTexts/texts/models.py @@ -6,7 +6,11 @@ class PadmaText(models.Model): author = models.CharField(max_length=512, blank=True) author_bio = models.TextField(blank=True) abstract = models.TextField(blank=True) + left_bar = models.TextField(blank=True) html = models.TextField() + show_users = models.CharField(max_length=512, blank=True, help_text="Comma separated usernames") + show_layers = models.CharField(max_length=256, blank=True, help_text="Comma separated - for eg. transcript, description") + def __unicode__(self): return self.title