]> git.parisson.com Git - teleforma.git/commitdiff
fix notes
authorGuillaume Pellerin <yomguy@parisson.com>
Wed, 24 Jun 2015 14:28:10 +0000 (16:28 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Wed, 24 Jun 2015 14:28:10 +0000 (16:28 +0200)
teleforma/views/core.py

index fe5afc257e5ed3cfffc2dd26d723c5d8f2c8c300..b7785d6119a5c11bb7d203ac775db3a2151ed62d 100644 (file)
@@ -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