Changed the name of django app.Now python manage.py shell cant see the models.
Use relative import from .models import Teacher instead if you are inside your app main.
This is what I did to change the name of my django app which has classes under models
I deleted the database and the migration folder. Then I ran the migration again and the tables were created ( mariadb). All works fine. Except when I run 
python manage.py shell which starts the interpretor alright. But when I try to from main.models import Teacher I get a LookupError: No installed app with label 'models' . Teacher being the class under models.py of the app main. Main is what I had renamed my earlier app 'foo' to