Accessing Migration Tables in Django

Learn how to view database tables from the Django administration site.

To see our database tables and fields on the Django admin page, we have to register our models in the admin.py file and also create a superuser.  

Registering models

To register our model, let’s open the houses/admin.py file. Inside it, we'll see a boilerplate that imports the admin from django.contrib, as shown below:

Get hands-on with 1200+ tech skills courses.