I try to run some
python manage.py shell_plus --notebook --settings=my_app.settings.andi
But it fails with error:
Unknown command: 'shell_plus'
Type 'manage.py help' for usage.
I have ipython and shell_plus installed (from my pip freeze)
django-shell-plus==1.1.5
ipython==1.2.1
How to deal with it?
Make sure you have installed django-extensions
.
pip install django-extensions
Add django_extensions
(note the underscore between) to the INSTALLED_APPS
list in settings.py
file of your project.