Django Admin Add Search Field

Adi Ramadhan
1 min readJul 6, 2020

Basic search field in Django Admin.

Start with this admin app (Book ModelAdmin). To create from the start refer this link.

List of Book

Add search_field in class BookAdmin. Example: search by title and author.

search_fields = ['title', 'author']
Search field in Django Admin Model