git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
3ab2ec5
)
Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
author
Yasin
<mohammed-yasin.rahman@lip6.fr>
Mon, 28 Apr 2014 09:45:34 +0000
(11:45 +0200)
committer
Yasin
<mohammed-yasin.rahman@lip6.fr>
Mon, 28 Apr 2014 09:45:34 +0000
(11:45 +0200)
portal/actions.py
patch
|
blob
|
history
diff --git
a/portal/actions.py
b/portal/actions.py
index
b9a0737
..
648ae57
100644
(file)
--- a/
portal/actions.py
+++ b/
portal/actions.py
@@
-252,7
+252,8
@@
def get_request_by_id(ids):
def get_requests(authority_hrns=None):
print "get_request_by_authority auth_hrns = ", authority_hrns
if not authority_hrns:
- pending_users = PendingUser.objects.all()
+ ## get those pending users who have validated their emails
+ pending_users = PendingUser.objects.filter(status__iexact = 'True')
pending_slices = PendingSlice.objects.all()
pending_authorities = PendingAuthority.objects.all()
else: