Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #17078: properly invoke IPython 0.12.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e8e4293a485fc51d7b699c24e5d1340fdee25d03 1 parent 203c4fe
@jacobian jacobian authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 django/core/management/commands/shell.py
View
5 django/core/management/commands/shell.py
@@ -13,9 +13,8 @@ class Command(NoArgsCommand):
def ipython(self):
try:
- from IPython.frontend.terminal.embed import TerminalInteractiveShell
- shell = TerminalInteractiveShell()
- shell.mainloop()
+ from IPython import embed
+ embed()
except ImportError:
# IPython < 0.11
# Explicitly pass an empty list as arguments, because otherwise

0 comments on commit e8e4293

Please sign in to comment.
Something went wrong with that request. Please try again.