Skip to main content
Loading page…
Python Mastery
Chapter 34
Lesson 3 of 4
The Admin & the Shell
Contents
Notes
Tutor
Concept
The Admin: A Free Back-Office in 3 Lines
Loading activity…
Previous
1 / 9
Continue
Contents
Notes
Discussion
Tutor
45 min
9 activities
0 of 9 done
In this lesson
1
The Admin: A Free Back-Office in 3 Lines
2
Registering Models and Customising ModelAdmin
3
Inline Editing: Related Models in One Form
4
The Django Shell: ORM Playground
5
shell_plus is Worth Installing
6
Admin Registration
7
Why is the Django shell more useful than a plain Python REPL?
8
ModelAdmin Options
9
Senior Lab: Build, Run, and Review Evidence
Objectives
Register models with the auto-generated Django admin
Customise list displays, filters, and search in ModelAdmin
Use the django shell for interactive ORM exploration
Create a superuser and explain why the admin is a productivity superpower
Further reading
Django documentation
Chapter 34 · Django: The Batteries-Included Framework
Projects, Apps & the Request Lifecycle
Models & the ORM
The Admin & the Shell
Views, URLs, Templates & Forms
Previous: Models & the ORM
Next: Views, URLs, Templates & Forms