Пример #1
0
 def get(self, *args, **kwargs):
     project_list = project.get_all()
     announcement_dict = {}
     for each in project_list:
         announcement_dict[each.id] = announcement.get_announcement_by_project(each.id)
     self.render('home.html', project_list=project_list, announcement_dict =announcement_dict)