diff options
| author | Mike Grouchy <mgrouchy@gmail.com> | 2012-07-16 20:37:52 -0400 |
|---|---|---|
| committer | Mike Grouchy <mgrouchy@gmail.com> | 2012-07-17 13:45:35 -0400 |
| commit | f2abfe1e4853df1848d178c3de369c80932292e8 (patch) | |
| tree | 09d75a16ee5629e1d4f42a2044ea3cbf7128bc0f /docs/ref/django-admin.txt | |
| parent | aeda55e6bffc3cfbf53698af398a19c1a0f02d46 (diff) | |
Adds interpreter option to shell command as per ticket #18639
Specify python interpreter interface ipython or bpython with the -i,
--interface options
argument.
ex// python manage.py shell -i bpython
ex// python manage.py shell --interface bpython
Like all other options, defaults to default python interpreter when your
selected choice isn't available.
updated documentation where appropriate
Diffstat (limited to 'docs/ref/django-admin.txt')
| -rw-r--r-- | docs/ref/django-admin.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 31c46c7fa0..c4295c68d5 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -743,6 +743,24 @@ use the ``--plain`` option, like so:: django-admin.py shell --plain +.. versionchanged:: 1.5 + +If you would like to specify either IPython or bpython as your interpreter if +you have both installed you can specify an alternative interpreter interface +with the ``-i`` or ``--interface`` options like so:: + +IPython:: + + django-admin.py shell -i ipython + django-admin.py shell --interface ipython + + +bpython:: + + django-admin.py shell -i bpython + django-admin.py shell --interface bpython + + .. _IPython: http://ipython.scipy.org/ .. _bpython: http://bpython-interpreter.org/ |
