From a4ae7f22a1e05d3b35fb2450e820e3548b9a126d Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Tue, 2 Apr 2013 11:10:23 -0400 Subject: [PATCH] site_url can be null --- plstackapi/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plstackapi/core/models.py b/plstackapi/core/models.py index 0a69df5..3eb0f20 100644 --- a/plstackapi/core/models.py +++ b/plstackapi/core/models.py @@ -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, help_text="Name for this Site") - site_url = models.URLField(help_text="Site's Home URL Page", blank=True) + site_url = models.URLField(null=True, blank=True, help_text="Site's Home URL Page") 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) -- 2.47.0