From: Guillaume Pellerin Date: Fri, 28 Jun 2013 14:52:39 +0000 (+0200) Subject: 10 seminars max on desk X-Git-Tag: 2.8.1-pro~484^2~1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1d8ef3ecd408f7ec8cb0dd5791235c2fb25cbd58;p=teleforma.git 10 seminars max on desk --- diff --git a/teleforma/views/pro.py b/teleforma/views/pro.py index f97c9255..e5baf082 100644 --- a/teleforma/views/pro.py +++ b/teleforma/views/pro.py @@ -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):