Loading django/core/management/commands/shell.py +2 −2 Original line number Diff line number Diff line Loading @@ -5,9 +5,9 @@ from optparse import make_option class Command(NoArgsCommand): option_list = NoArgsCommand.option_list + ( 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'] requires_model_validation = False Loading Loading
django/core/management/commands/shell.py +2 −2 Original line number Diff line number Diff line Loading @@ -5,9 +5,9 @@ from optparse import make_option class Command(NoArgsCommand): option_list = NoArgsCommand.option_list + ( 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'] requires_model_validation = False Loading