  
      def __init__(self, field, request, params, model, model_admin, field_path):
          self.field = field
          self.field_path = field_path
          self.title = field_path
          super(FieldListFilter, self).__init__(request, params, model, model_admin)
  
      def has_output(self):
          return True
  
 
</s> remove         self.assertEqual(force_unicode(filterspec.title), u'is_best_seller')
 </s> add         self.assertEqual(force_unicode(filterspec.title), u'is best seller') </s> remove         self.assertEqual(force_unicode(filterspec.title), u'is_best_seller')
 </s> add         self.assertEqual(force_unicode(filterspec.title), u'is best seller') </s> remove         self.assertEqual(force_unicode(filterspec.title), u'is_best_seller')
 </s> add         self.assertEqual(force_unicode(filterspec.title), u'is best seller') </s> remove         self.assertEqual(force_unicode(filterspec.title), u'date_registered')
 </s> add         self.assertEqual(force_unicode(filterspec.title), u'date registered') </s> remove         self.assertEqual(force_unicode(filterspec.title), u'date_registered')
 </s> add         self.assertEqual(force_unicode(filterspec.title), u'date registered')
        self.title = getattr(field, 'verbose_name', field_path)
  
      def __init__(self, field, request, params, model, model_admin, field_path):
          self.field = field
          self.field_path = field_path
        self.title = getattr(field, 'verbose_name', field_path)
          super(FieldListFilter, self).__init__(request, params, model, model_admin)
  
      def has_output(self):
          return True
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #15971 -- Fixed regression introduced in r16144 that prevented the use of the field's verbose_name attribute. Thanks to mk and Julien.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16171 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/contrib/admin/filters.py