equal
deleted
inserted
replaced
494 |
494 |
495 # append the current project to the known student's list of projects |
495 # append the current project to the known student's list of projects |
496 people[student_key_name]['projects'].append(project_key_name) |
496 people[student_key_name]['projects'].append(project_key_name) |
497 |
497 |
498 # combine the people and projects data into one JSON object |
498 # combine the people and projects data into one JSON object |
499 data = {} |
499 data = {'people': people, |
500 # TODO: to enable map data uncomment the piece of code below |
500 'projects': projects} |
501 #data = {'people': people, |
|
502 # 'projects': projects} |
|
503 |
501 |
504 return simplejson.dumps(data) |
502 return simplejson.dumps(data) |
505 |
503 |
506 def _public(self, request, entity, context): |
504 def _public(self, request, entity, context): |
507 """See base.View._public(). |
505 """See base.View._public(). |