Changed `manage.py shell`'s help text to reflect that it can invoke bpython.

This commit is contained in:
Alex Gaynor 2012-07-10 14:26:42 -07:00
parent 828f7b62e8
commit 76d5daa60f
1 changed files with 2 additions and 2 deletions

View File

@ -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