0Pricing
Django Academy · Lesson

Registering Models with admin.site

Make your models editable in the admin.

Empty Dashboard

Right now the admin only shows Users and Groups. To manage your own data you must register each model so the admin knows about it.

Where to Register

Each app has its own admin.py file. This is the one place you tell Django which models should appear in the admin.

All lessons in this course

  1. createsuperuser and Logging In
  2. Registering Models with admin.site
  3. Customizing ModelAdmin
  4. Inlines and Readonly Fields
← Back to Django Academy