          for lookup, title in self.field.flatchoices:
              yield {
                  'selected': smart_text(lookup) == self.lookup_val,
                  'query_string': cl.get_query_string({
                                      self.lookup_kwarg: lookup}),
                  'display': title,
              }
  
  FieldListFilter.register(lambda f: bool(f.choices), ChoicesFieldListFilter)
  
 
</s> remove                         self.lookup_kwarg: lookup,
 </s> add                     self.lookup_kwarg: lookup, </s> remove                                     param_dict, [self.field_generic]),
 </s> add                     param_dict, [self.field_generic]), </s> remove                         self.lookup_kwarg2: 'True',
 </s> add                     self.lookup_kwarg2: 'True', </s> remove         bool(f.rel) if hasattr(f, 'rel') else
        isinstance(f, models.related.RelatedObject)), RelatedFieldListFilter)
 </s> add     bool(f.rel) if hasattr(f, 'rel') else
    isinstance(f, models.related.RelatedObject)), RelatedFieldListFilter) </s> remove                         form[cl.model._meta.pk.name].is_hidden)):
 </s> add                     form[cl.model._meta.pk.name].is_hidden)):
                    self.lookup_kwarg: lookup}),
          for lookup, title in self.field.flatchoices:
              yield {
                  'selected': smart_text(lookup) == self.lookup_val,
                  'query_string': cl.get_query_string({
                    self.lookup_kwarg: lookup}),
                  'display': title,
              }
  
  FieldListFilter.register(lambda f: bool(f.choices), ChoicesFieldListFilter)
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #21288 -- Fixed E126 pep8 warnings 
django/contrib/admin/filters.py