[Fixed]-IPython doesn't work in Django shell


IPython 0.11 has a different API, for which a fix exists in the last Django versions.

For older Django versions, you can use IPython 0.10, which does work:

pip install ipython==0.10


Does this work when you run it from Python interactive console?

import IPython; IPython.Shell


I got the same problem, and solved this issue by applying the patches for the Django bug. – IPython doesn't find the Shell.IPShell class

Leave a comment