Customizing the ModelAdmin classes
Now that we’ve learned how a subclassed AdminSite
can be used to customize the global appearance of the admin app, we will look at how to customize the admin app’s interface to individual models. Owing to the admin interface being generated automatically from the models’ structure, it has an overly generic appearance and needs to be customized for the sake of aesthetics and usability. Click one of the Books links in the admin app and compare it to the Users link. Both links take you to change list pages. These are the pages that a Bookr administrator visits when they want to add new books or add or alter the privileges of a user. As explained previously, a change list page presents a list of model objects with the option of selecting a group of them for bulk deletion (or other bulk activity), examining an individual object to edit it, or adding a new object. Notice the difference between the two change list pages with a view to...