Changed `manage.py shell`'s help text to reflect that it can invoke bpython.
This commit is contained in:
parent
828f7b62e8
commit
76d5daa60f
|
@ -5,9 +5,9 @@ from optparse import make_option
|
||||||
class Command(NoArgsCommand):
|
class Command(NoArgsCommand):
|
||||||
option_list = NoArgsCommand.option_list + (
|
option_list = NoArgsCommand.option_list + (
|
||||||
make_option('--plain', action='store_true', dest='plain',
|
make_option('--plain', action='store_true', dest='plain',
|
||||||
help='Tells Django to use plain Python, not IPython.'),
|
help='Tells Django to use plain Python, not IPython or bpython.'),
|
||||||
)
|
)
|
||||||
help = "Runs a Python interactive interpreter. Tries to use IPython, if it's available."
|
help = "Runs a Python interactive interpreter. Tries to use IPython or bpython, if one of them is available."
|
||||||
shells = ['ipython', 'bpython']
|
shells = ['ipython', 'bpython']
|
||||||
requires_model_validation = False
|
requires_model_validation = False
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue