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

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