summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2006-06-05 15:25:12 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2006-06-05 15:25:12 +0000
commit42a34423f264bf752c84f52849067c74282112eb (patch)
tree7a41129609c1fd7991a187c4830141fda1f28e67
parent55b6559b0e4a611f52814ef3c2c7e5329dbb4aff (diff)
Fixed stupid bug in [3802]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/core/management.py2
1 files changed, 1 insertions, 1 deletions
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: