1
0
mirror of https://github.com/django/django.git synced 2024-12-25 18:46:22 +00:00

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

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