0

when I run python manage.py shell, it uses just an ordinary python not iPython.

How do I make it run iPython.

P.S. I think iPython is installed in the virtaulenv

1
  • You think? Why not check it by running ipython in virtualenv. Commented Oct 4, 2014 at 15:54

1 Answer 1

2

https://docs.djangoproject.com/en/dev/ref/django-admin/

If you would like to specify either IPython or bpython as your interpreter if you have both installed you can specify an alternative interpreter interface with the -i or --interface options like so:

IPython:

django-admin shell -i ipython django-admin shell --interface ipython

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.