related_name="as_favicon")
site = models.ForeignKey(sites_models.Site)
app_url = models.URLField(help_text="The url of the application UI (not "\
- "the cms", verify_exists=False, blank=True, null=True)
+ "the cms)", verify_exists=False, blank=True, null=True)
+ accounts_url = models.CharField(max_length=255, default="/", blank=True,
+ null=True, help_text="Tha accounts login page")
index_url = models.CharField(max_length=255, default="/", blank=False,
null=False)
linked_in_username = models.CharField(max_length=255, blank=True)
choices= MESSAGE_TYPE_CHOICES,
default = 'NM' )
custom_message = models.TextField(default="", blank=True)
-
+
@classmethod
def current(cls):
return cls.objects.get(site__pk=settings.SITE_ID)