5

If it is a multi-user environment and uninstall IPython is not an option, how would you go about launching a Django shell without IPython.

3 Answers 3

5

As of Django 1.10 the --plain flag is deprecated, instead you should use -i flag to choose from available interactive shells {ipython,bpython,python}

./manage.py shell -i python
5

Passing --plain will tell Django to not look for IPython.

0
0

you can uninstall ipython from the project virtualenv, that all you need

1
  • The question was just two lines long and contained “uninstall IPython is not an option”. Apr 26, 2021 at 19:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.