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:
4d09aac
)
DeploymentRole is not linked to deployments
author
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 23 Sep 2014 17:42:40 +0000
(13:42 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Tue, 23 Sep 2014 17:42:40 +0000
(13:42 -0400)
planetstack/core/models/site.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/site.py
b/planetstack/core/models/site.py
index
33d9437
..
df42edd
100644
(file)
--- a/
planetstack/core/models/site.py
+++ b/
planetstack/core/models/site.py
@@
-220,8
+220,8
@@
class Deployment(PlCoreBase):
return Deployment.objects.all()
class DeploymentRole(PlCoreBase):
return Deployment.objects.all()
class DeploymentRole(PlCoreBase):
- objects = DeploymentLinkManager()
- deleted_objects = DeploymentLinkDeletionManager()
+
#
objects = DeploymentLinkManager()
+
#
deleted_objects = DeploymentLinkDeletionManager()
ROLE_CHOICES = (('admin','Admin'),)
role = models.CharField(choices=ROLE_CHOICES, unique=True, max_length=30)
ROLE_CHOICES = (('admin','Admin'),)
role = models.CharField(choices=ROLE_CHOICES, unique=True, max_length=30)