mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #1202 -- Changed 'manage.py shell' to use IPython if present. Also added '--plain' option, which overrides IPython to use the standard Python interactive prompt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -156,6 +156,19 @@ Port 7000 on IP address 1.2.3.4::
|
||||
|
||||
django-admin.py runserver 1.2.3.4:7000
|
||||
|
||||
shell
|
||||
-----
|
||||
|
||||
Starts the Python interactive interpreter.
|
||||
|
||||
**New in Django development version:** Uses IPython_, if it's installed. If you
|
||||
have IPython installed and want to force use of the "plain" Python interpreter,
|
||||
use the ``--plain`` option, like so::
|
||||
|
||||
django-admin.py shell --plain
|
||||
|
||||
.. _IPython: http://ipython.scipy.org/
|
||||
|
||||
sql [modelmodule modelmodule ...]
|
||||
---------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user