Adding the help system to the web interface.

This commit is contained in:
Greg Taylor 2006-12-26 05:54:32 +00:00
parent bca357e7f9
commit ac5bd46004

View file

@ -10,6 +10,9 @@ class HelpEntry(models.Model):
entrytext = models.TextField(blank=True, null=True) entrytext = models.TextField(blank=True, null=True)
staff_only = models.BooleanField(default=0) staff_only = models.BooleanField(default=0)
class Admin:
list_display = ('topicname', 'staff_only',)
def __str__(self): def __str__(self):
return "%3d. %s" % (self.id, self.topicname) return "%3d. %s" % (self.id, self.topicname)