equal
deleted
inserted
replaced
68 """ take a list of feedback objects and return the percentage of each item in the form of a dict. |
68 """ take a list of feedback objects and return the percentage of each item in the form of a dict. |
69 """ |
69 """ |
70 |
70 |
71 no_of_feeds = feeds.count() |
71 no_of_feeds = feeds.count() |
72 if not no_of_feeds: |
72 if not no_of_feeds: |
73 return {} |
73 return [] |
74 |
74 |
75 day_report = [] |
75 day_report = [] |
76 |
76 |
77 for field in ['topics', 'depth', 'methodology', 'pace', 'applicability', 'problems', 'exercises']: |
77 for field in ['topics', 'depth', 'methodology', 'pace', 'applicability', 'problems', 'exercises']: |
78 |
78 |