site_url can be null
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 2 Apr 2013 14:42:26 +0000 (10:42 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 2 Apr 2013 14:42:26 +0000 (10:42 -0400)
plstackapi/core/models.py

index 7bb94d6..c57c7fc 100644 (file)
@@ -15,7 +15,7 @@ class PlCoreBase(models.Model):
 class Site(PlCoreBase):
     tenant_id = models.CharField(max_length=200, help_text="Keystone tenant id")
     name = models.CharField(max_length=200, unique=True, help_text="Name for this Site")
-    site_url = models.URLField(help_text="Site's Home URL Page")
+    site_url = models.URLField(help_text="Site's Home URL Page", blank=True)
     enabled = models.BooleanField(default=True, help_text="Status for this Site")
     longitude = models.FloatField(null=True, blank=True)
     latitude = models.FloatField(null=True, blank=True)