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:
c49c567
)
Adjust to enforce field naming conventions
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 12 Nov 2014 02:10:07 +0000
(21:10 -0500)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Wed, 12 Nov 2014 02:10:07 +0000
(21:10 -0500)
planetstack/core/models/site.py
patch
|
blob
|
history
diff --git
a/planetstack/core/models/site.py
b/planetstack/core/models/site.py
index
0ade5df
..
53c36ab
100644
(file)
--- a/
planetstack/core/models/site.py
+++ b/
planetstack/core/models/site.py
@@
-193,7
+193,7
@@
class Deployment(PlCoreBase):
if slice:
potential_users.append(slice.creator)
- for priv in slice.slice
_
privileges.all():
+ for priv in slice.sliceprivileges.all():
if priv.user not in potential_users:
potential_users.append(priv.user)