Chapter 6. Model Administration

In this chapter, we will cover the following topics:

  • Customizing columns on the change list page
  • Creating admin actions
  • Developing change list filters
  • Customizing default admin settings
  • Inserting a map on a change form

Introduction

The Django framework comes with a built-in administration system for your models. With very little effort, you can set up filterable, searchable, and sortable lists for browsing your models and configure forms to add and edit data. In this chapter, we will go through the advanced techniques to customize administration by developing some practical cases.

Get Web Development with Django Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.