fool me once, shame on git; fool me twice, shame on me
@@ -40,23 +40,6 @@ class PartnersFilterView(FilterView):
-class PartnersFilterView(FilterView):
- model = Partner
-
- def get_queryset(self):
- # The ordering here is useful primarily to people familiar with the
- # English alphabet. :/
- if self.request.user.is_staff:
- messages.add_message(self.request, messages.INFO,
- # Translators: Staff members can see partners on the Browse page (https://wikipedialibrary.wmflabs.org/partners/) which are hidden from other users.
- _('Because you are a staff member, this page may include '
- 'Partners who are not yet available to all users.'))
- return Partner.even_not_available.order_by('company_name')
- else:
- return Partner.objects.order_by('company_name')
-
-
-
class PartnersDetailView(DetailView):
model = Partner
