Every time I make some create, update, delete on Django admin models interface I stumbled upon a way to modify the list item shown there. Is it possible to change the list item in Django admin interface? Actually, the answer is yes we can change the Admin interface.
You can easily update the QuerySet by overriding
get_queryset method in Django ModelAdmin.
def TaskAdmin(admin.ModelAdmin): def get_queryset(self, request): # Calling super to get the parent QuerySet qs = super().get_queryset(request) # Add your own filters here... return qs