Ticket #17078: shell_py.diff

File shell_py.diff, 695 bytes (added by matveym, 13 years ago)
  • django/core/management/commands/shell.py

     
    1414    def ipython(self):
    1515        try:
    1616            from IPython.frontend.terminal.embed import TerminalInteractiveShell
    17             shell = TerminalInteractiveShell()
     17            from IPython.frontend.terminal.ipapp import load_default_config
     18            config = load_default_config()
     19            shell = TerminalInteractiveShell(config=config)
    1820            shell.mainloop()
    1921        except ImportError:
    2022            # IPython < 0.11
Back to Top