Ticket #17078: shell_py.diff
File shell_py.diff, 695 bytes (added by , 13 years ago) |
---|
-
django/core/management/commands/shell.py
14 14 def ipython(self): 15 15 try: 16 16 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) 18 20 shell.mainloop() 19 21 except ImportError: 20 22 # IPython < 0.11