From 42a34423f264bf752c84f52849067c74282112eb Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Mon, 5 Jun 2006 15:25:12 +0000 Subject: [PATCH] Fixed stupid bug in [3802] git-svn-id: http://code.djangoproject.com/svn/django/trunk@3083 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management.py b/django/core/management.py index a394034729..931372cc5e 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -1152,7 +1152,7 @@ def execute_from_command_line(action_mapping=DEFAULT_ACTION_MAPPING, argv=None): help='Lets you manually add a directory the Python path, e.g. "/home/djangoprojects/myproject".') parser.add_option('--plain', action='store_true', dest='plain', help='Tells Django to use plain Python, not IPython, for "shell" command.') - options, args = parser.parse_args(argv) + options, args = parser.parse_args(argv[1:]) # Take care of options. if options.settings: