Next we can enable the Django admin for our user profile model by default the
Django admin is already enabled on all new projects however you need to
register any newly created models with the Django admin so it knows that you
want to display that model in the admin interface let's go ahead and enable the
Django admin for our user profile model
Open up the Atom editor and make sure
we have the profiles REST API project open the way that you register models is
you add them to this admin dot py file which is automatically created when you create
a new app in your project
we're going enable our model by
first importing our models from the profiles API project so let's type from
profiles underscore API import models
then you register models by typing admin
dot site register models dot user profile
this tells the Django admin to register our user profile model with the admin
site so it makes it accessible through the admin interface