Run Django shell in IPython

Simply install ipython into your virtualenv. manage.py shell should use it by default.

You can also use manage.py shell with the -i option to explicitly select a shell (the options are ipython, bpython, or python for a regular Python shell):

python manage.py shell -i ipython

Either way, you do need to install ipython into your environment, but you don’t need to make any changes to your project settings.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)