summaryrefslogtreecommitdiff
path: root/gnowsys-ndf/gnowsys_ndf/ndf
diff options
context:
space:
mode:
authorkatkamrachana <katkam.rachana@gmail.com>2015-06-29 15:56:34 +0530
committerkatkamrachana <katkam.rachana@gmail.com>2015-06-29 15:56:34 +0530
commit70ce54390d0e0589fc39f358b29b7c08fb57ddab (patch)
tree4744f5356c97d549f7341d56913cb51a64374602 /gnowsys-ndf/gnowsys_ndf/ndf
parent0a9ec75844f9b1567933817effb92bb90524f58d (diff)
downloadgnowsys-70ce54390d0e0589fc39f358b29b7c08fb57ddab.tar.gz
Batches bug resolved
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf/ndf')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/views/batch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/views/batch.py b/gnowsys-ndf/gnowsys_ndf/ndf/views/batch.py
index 2b3eb02c..9dbb94b5 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/views/batch.py
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/views/batch.py
@@ -367,9 +367,10 @@ def get_possible_batches(request, group_id):
for rel in each_batch.relation_set:
list_of_members = []
if rel and 'has_batch_member' in rel:
+ print "\n\nrel['has_batch_member']",rel['has_batch_member']
list_of_members.append(rel['has_batch_member'])
list_of_members.append(str(each_batch._id))
- each_batch_dict[each_batch.name] = list_of_members
+ each_batch_dict[each_batch.name] = list_of_members
batch_user_list_dict.append(each_batch_dict)
# batch_user_list_dict.append(str(each_batch._id))
# print "\n\nBatches----------", batch_user_list_dict