app/soc/views/models/organization.py
changeset 2699 3b11f9c24d65
parent 2694 b8f083157e33
child 2782 3944749338d3
equal deleted inserted replaced
2698:5783338b2c8d 2699:3b11f9c24d65
   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().