models.py
class Author(models.Model):
nickname = models.CharField(max_length=100)
class Book(models.Model):
title = models.CharField(max_length=255)
authors = models.ManyToManyField(Author)
admin.py
@admin.register(Book)
class BookAdmin(admin.ModelAdmin):
list_filter = (???,)
How to filter the books of a particular author through the admin panel.