I\'m tired of typing from account_import.models import ImportFile every time I open my Django shell. Is there a way to automatically run this command whenever I fir
install django-extensions, one of the commands it features (shell_plus) is providing the context for your models.
https://github.com/django-extensions/django-extensions
So, instead of ./manage.py shell you can use ./manage.py shell_plus so that everything is imported.