Search code examples
pythondjangodjango-shell

Unknown command: shell_plus and --settings


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?


Solution

  • According to documentation, you need to call it as ./manage.py shell+.

    Probably you've mixed up this command with shell_plus from django-extensions?