From 61aceddbeff6ffeb1dd58a3adce072dcc7a079a5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 4 Jun 2016 00:21:22 +0200 Subject: Homepage in markdown with settings in database --- ishtar_common/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index dcf141dde..833dfbec9 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -818,6 +818,10 @@ class IshtarSiteProfile(models.Model, Cached): warehouse = models.BooleanField( _(u"Warehouses module"), default=False, help_text=_(u"Need finds module")) + homepage = models.TextField( + _(u"Home page"), null=True, blank=True, + help_text=_(u"Homepage of Ishtar - if not defined a default homepage " + u"will appear. Use the markdown syntax.")) active = models.BooleanField(_(u"Current active"), default=False) class Meta: -- cgit v1.2.3