Adding the help system to the web interface.
This commit is contained in:
parent
bca357e7f9
commit
ac5bd46004
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue