I think you are trying to access the Profile model, which is not been installed yet. So you need to configure it by using the below commands
// Create database migrations
python manage.py makemigrations
// Execute the migrations to the database
python manage.py migrate