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
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue