(self, request)
return list_display
Automatically creates admin list display for each field other than id.  Any fields in the extra_list_display
            attribute are added at the end of list_display.  Dupes are removed.
            URLField fields are created with links to the URL so long as the field is not in list_display_links.
            ForeignKey and OneToOneField fields are created with links to their admin change pages so long as the field
            is not in list_display_links.
Automatically creates admin list display for each field other than id.  Any fields in the extra_list_display
            attribute are added at the end of list_display.  Dupes are removed.
            URLField fields are created with links to the URL so long as the field is not in list_display_links.
            ForeignKey and OneToOneField fields are created with links to their admin change pages so long as the field
            is not in list_display_links.
Automatically creates admin list display for each field other than id . Any fields in the extra_list_display attribute are added at the end of list_display . Dupes are removed . URLField fields are created with links to the URL so long as the field is not in list_display_links . ForeignKey and OneToOneField fields are created with links to their admin change pages so long as the field is not in list_display_links .
def get_list_display(self, request):
        """
            Automatically creates admin list display for each field other than id.  Any fields in the extra_list_display
            attribute are added at the end of list_display.  Dupes are removed.
            URLField fields are created with links to the URL so long as the field is not in list_display_links.
            ForeignKey and OneToOneField fields are created with links to their admin change pages so long as the field
            is not in list_display_links.
        """
        list_display = super(ExtendedModelAdminMixin, self).get_list_display(request)
        if not isinstance(list_display, list):
            combined_list_display = ([field.name for field in self.model._meta.fields if field.name != "id"] +
                                     self.extra_list_display)
            list_display = remove_dupes(combined_list_display)
            if self.link_url_fields:
                list_display = ["url_link_%s" % field_name if is_urlfield(field_name, self.model) else field_name for
                                field_name in list_display]
            if self.link_foreign_key_fields:
                list_display = ["fk_link_%s" % field_name if is_foreignkey(field_name, self.model) else field_name for
                                field_name in list_display]
        list_display_links = self.get_list_display_links(request, list_display)
        list_display = [field_name.replace("url_link_", "").replace("fk_link_", "") if field_name in
                        list_display_links else field_name for field_name in list_display]
        return list_display
def get_list_display ( self , request ) : list_display = super ( ExtendedModelAdminMixin , self ) . get_list_display ( request ) if not isinstance ( list_display , list ) : combined_list_display = ( [ field . name for field in self . model . _meta . fields if field . name != "id" ] + self . extra_list_display ) list_display = remove_dupes ( combined_list_display ) if self . link_url_fields : list_display = [ "url_link_%s" % field_name if is_urlfield ( field_name , self . model ) else field_name for field_name in list_display ] if self . link_foreign_key_fields : list_display = [ "fk_link_%s" % field_name if is_foreignkey ( field_name , self . model ) else field_name for field_name in list_display ] list_display_links = self . get_list_display_links ( request , list_display ) list_display = [ field_name . replace ( "url_link_" , "" ) . replace ( "fk_link_" , "" ) if field_name in list_display_links else field_name for field_name in list_display ] return list_display