Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.3.X] Fixed #17078: properly invoke IPython 0.12.

Backport of r17379.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2b793b1a3580a318ba8a505f8a70942bf849de25 1 parent 9bc6119
Jacob Kaplan-Moss jacobian authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 django/core/management/commands/shell.py
5 django/core/management/commands/shell.py
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.