Ticket #2073: django_core_management.diff

File django_core_management.diff, 541 bytes (added by jpellerin@…, 18 years ago)

Pass IPython.Shell.IPShell an empty argv

  • django/core/management.py

    === django/core/management.py
    ==================================================================
     
    10561056            # Don't bother loading IPython, because the user wants plain Python.
    10571057            raise ImportError
    10581058        import IPython
    1059         shell = IPython.Shell.IPShell()
     1059        # don't pass through arguments
     1060        shell = IPython.Shell.IPShell(argv=[])
    10601061        shell.mainloop()
    10611062    except ImportError:
    10621063        import code
Back to Top