admin py in the same directory as models pyadmin py from django contrib import admin register your models here to register topic with the admin siteenterfrom django contrib import admin from learning_logs models import topic admin site register(topicthis code imports the model we want to registertopic uand then uses admin site register( to tell django to manage our model through the admin site now use the superuser account to access the admin site go to localhost: /admin/enter the username and password for the superuser you just createdand you should see screen like the one in figure - this page allows you to add new users and groups and change existing ones we can also work with data related to the topic model that we just defined figure - the admin site with topic included note if you see message in your browser that the web page is not availablemake sure you still have the django server running in terminal window if you don'tactivate virtual environment and reissue the command python manage py runserver adding topics now that topic has been registered with the admin sitelet' add our first topic click topics to go to the topics pagewhich is mostly emptybecause we have no topics to manage yet click addand you'll see form for adding getting started with django