CMS improvements
[snf-cloudcms] / cloudcms / models.py
index f9a5bba..d17cb9f 100644 (file)
@@ -77,7 +77,9 @@ class Application(models.Model):
             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)
@@ -94,7 +96,7 @@ class Application(models.Model):
                                     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)