<s> from django . contrib import admin <EOL> class LogicalDeleteModelAdmin ( admin . ModelAdmin ) : <EOL> """<STR_LIT>""" <EOL> list_display = ( "<STR_LIT:id>" , "<STR_LIT>" , "<STR_LIT>" ) <EOL> list_display_filter = ( "<STR_LIT>" , ) <EOL> def queryset ( self , request ) : <EOL> qs = self . model . _default_manager . all_with_deleted ( ) <EOL> ordering = self . ordering or ( ) <EOL> if ordering : <EOL> qs = qs . order_by ( * ordering ) <EOL> return qs </s>
