Expand site settings and add footer

This commit is contained in:
Mouse Reeve
2020-12-11 12:31:02 -08:00
parent b33ea40da2
commit 117d243577
4 changed files with 56 additions and 2 deletions

View File

@ -17,6 +17,9 @@ class SiteSettings(models.Model):
code_of_conduct = models.TextField(
default="Add a code of conduct here.")
allow_registration = models.BooleanField(default=True)
support_link = models.CharField(max_length=255, null=True, blank=True)
support_title = models.CharField(max_length=100, null=True, blank=True)
admin_email = models.EmailField(max_length=255, null=True, blank=True)
@classmethod
def get(cls):