Commit e8e4293a authored by Jacob Kaplan-Moss's avatar Jacob Kaplan-Moss
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
parent 203c4fef
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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