Ticket #17078: 17078.patch

File 17078.patch, 657 bytes (added by Aymeric Augustin, 13 years ago)
  • django/core/management/commands/shell.py

     
    1313
    1414    def ipython(self):
    1515        try:
    16             from IPython.frontend.terminal.embed import TerminalInteractiveShell
    17             shell = TerminalInteractiveShell()
    18             shell.mainloop()
     16            from IPython import embed
     17            embed()
    1918        except ImportError:
    2019            # IPython < 0.11
    2120            # Explicitly pass an empty list as arguments, because otherwise
Back to Top