Commits

Federico Maggi committed 26c41b9 Draft

Modified how people queryset is built

Comments (0)

Files changed (1)

academic/people/urls.py

     url(r'^$',
         cache_page(object_list),
         {'template_name': 'academic/person_list.html',
-         'queryset': Person.objects.all(),
+         'queryset': Person.objects_visible.all(),
          'extra_context': {
                 'alumni': Person.objects_alumni.all(),
                 'visitors': Person.objects_visitors.all().order_by('rank'),