5 Django Admin

This chapter covers

  • Using the Django Admin to manage your Model content
  • Creating a superuser
  • Customizing the Django Admin
  • Linking between Model objects in the Django Admin
  • Model Meta properties

This chapter covers the Django Admin, a built-in, web-based tool for managing your object relational mapping (ORM) Model objects. The Django Admin gives you screens to list, add, edit, and delete the objects in the database.

5.1 Touring the Django Admin

In the previous chapter, you learned how to use the ORM to add storage capabilities to your Django site. Along the way, you used two techniques to construct data: the .create() method on a Model object and fixtures. Wouldn’t it be nice if you had a graphical interface to manage ...

Get Django in Action 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.