From: Guillaume Pellerin Date: Wed, 24 Jun 2015 14:28:10 +0000 (+0200) Subject: fix notes X-Git-Tag: 1.1~241 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b6756dd071bdd71d87a0ae053fd4334188447d5d;p=teleforma.git fix notes --- diff --git a/teleforma/views/core.py b/teleforma/views/core.py index fe5afc25..b7785d61 100644 --- a/teleforma/views/core.py +++ b/teleforma/views/core.py @@ -243,7 +243,6 @@ class CourseListView(CourseAccessMixin, ListView): def get_context_data(self, **kwargs): context = super(CourseListView, self).get_context_data(**kwargs) - context['notes'] = Note.objects.filter(author=self.request.user) context['room'] = get_room(name='site', period=context['period'].name) context['doc_types'] = DocumentType.objects.all() context['list_view'] = True