Django Admin Add Search Field

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.

admin.py
Search field in Django Admin Model

--

--

Software Engineer, Indonesia

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store