Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:django-nonrel/djangoappengine
Browse files Browse the repository at this point in the history
  • Loading branch information
aburgel committed Feb 6, 2012
2 parents 4683374 + 657816f commit 6a87a9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pyc
.DS_Store
docs/_build
.DS_Store
4 changes: 3 additions & 1 deletion management/commands/runserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class Command(BaseRunserverCommand):
help='Use the new, SQLite datastore stub.'),
make_option('--allow_skipped_files', action='store_true', default=False,
help='Allow access to files listed in skip_files.'),
make_option('--disable_task_running', action='store_true', default=False,
help='When supplied, tasks will not be automatically run after submission and must be run manually in the local admin console.'),
)

help = 'Runs a copy of the App Engine development server.'
Expand Down Expand Up @@ -128,7 +130,7 @@ def run(self, *args, **options):

# Process the rest of the options here
bool_options = ['debug', 'debug_imports', 'clear_datastore', 'require_indexes',
'high_replication', 'enable_sendmail', 'use_sqlite', 'allow_skipped_files']
'high_replication', 'enable_sendmail', 'use_sqlite', 'allow_skipped_files','disable_task_running', ]
for opt in bool_options:
if options[opt] != False:
args.append("--%s" % opt)
Expand Down

0 comments on commit 6a87a9e

Please sign in to comment.