context['extract_types'] = [dict(slug = 'all', label = _('all'))] + [dict(slug = 'contacts', label = _('contacts'))]
context['extract_types'] += [type for type in getattr(form, 'extract_types', [])]
return super(ContactAdmin, self).changelist_view(request, extra_context = context)
context['extract_types'] = [dict(slug = 'all', label = _('all'))] + [dict(slug = 'contacts', label = _('contacts'))]
context['extract_types'] += [type for type in getattr(form, 'extract_types', [])]
return super(ContactAdmin, self).changelist_view(request, extra_context = context)