28👍
✅
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
0👍
Does this work when you run it from Python interactive console?
import IPython; IPython.Shell
- How to return data with 403 error in Django Rest Framework?
- Background processing in Django without Celery
- Tastypie Negation Filter
- Converting a django ValuesQuerySet to a json object
0👍
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
- How to dynamically add EC2 ip addresses to Django ALLOWED_HOSTS
- What is the different between the get logger functions from celery.utils.log and logging?
- Django: Check for related objects and whether it contains data
Source:stackexchange.com