To add, edit and delete the posts we've just modeled, we will use Django admin.
Let's open the blog/admin.py file and replace its contents with this:
from django.contrib import adminfrom .models import Postadmin.site.register(Post)
As you can see, we import (include) the Post model defined in the previous tutorial. To make our model visible on the admin page, we need to register the model with admin.site.register(Post).