Question

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?

Was it helpful?

Solution 2

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?

OTHER TIPS

  1. Make sure you have installed django-extensions.

    pip install django-extensions

  2. Add django_extensions (note the underscore between) to the INSTALLED_APPS list in settings.py file of your project.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top