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:
1d8dc8d
)
Deployment filtering for deployment role objects
author
Sapan Bhatia
<gwsapan@gmail.com>
Mon, 22 Sep 2014 18:54:26 +0000
(14:54 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Mon, 22 Sep 2014 18:54:26 +0000
(14:54 -0400)
planetstack/core/models/site.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/site.py
b/planetstack/core/models/site.py
index
39eb538
..
4c7f555
100644
(file)
--- a/
planetstack/core/models/site.py
+++ b/
planetstack/core/models/site.py
@@
-186,6
+186,8
@@
class Deployment(PlCoreBase):
return Deployment.objects.all()
class DeploymentRole(PlCoreBase):
+ objects = DeploymentLinkManager()
+ deleted_objects = DeploymentLinkDeletionManager()
ROLE_CHOICES = (('admin','Admin'),)
role = models.CharField(choices=ROLE_CHOICES, unique=True, max_length=30)