added fields

This commit is contained in:
sanj 2010-12-09 20:26:47 +01:00
parent dd3ac19d0f
commit 82e30d6b56

View File

@ -6,7 +6,11 @@ class PadmaText(models.Model):
author = models.CharField(max_length=512, blank=True) author = models.CharField(max_length=512, blank=True)
author_bio = models.TextField(blank=True) author_bio = models.TextField(blank=True)
abstract = models.TextField(blank=True) abstract = models.TextField(blank=True)
left_bar = models.TextField(blank=True)
html = models.TextField() 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): def __unicode__(self):
return self.title return self.title