git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8496803
)
site name is not unique
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 2 Apr 2013 14:46:07 +0000
(10:46 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Tue, 2 Apr 2013 14:46:07 +0000
(10:46 -0400)
plstackapi/core/models.py
patch
|
blob
|
history
diff --git
a/plstackapi/core/models.py
b/plstackapi/core/models.py
index
c57c7fc
..
0a69df5
100644
(file)
--- a/
plstackapi/core/models.py
+++ b/
plstackapi/core/models.py
@@
-14,7
+14,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")
+ 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)
enabled = models.BooleanField(default=True, help_text="Status for this Site")
longitude = models.FloatField(null=True, blank=True)