]> git.parisson.com Git - teleforma.git/commitdiff
10 seminars max on desk
authorGuillaume Pellerin <yomguy@parisson.com>
Fri, 28 Jun 2013 14:52:39 +0000 (16:52 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Fri, 28 Jun 2013 14:52:39 +0000 (16:52 +0200)
teleforma/views/pro.py

index f97c9255f086bec58b783dd63b147360e0220c4d..e5baf082a8557019ef6e9a0d9e791618230c31cd 100644 (file)
@@ -152,7 +152,7 @@ class SeminarsView(ListView):
         return super(SeminarsView, self).dispatch(*args, **kwargs)
 
     def get_queryset(self):
-        return all_seminars(self.request, date_order=True)['all_seminars']
+        return all_seminars(self.request, date_order=True)['all_seminars'][:10]
 
 
 class AnswerView(SeminarAccessMixin, FormView):