Permalink
Browse files

Merge pull request #12 from lukebpotato/develop

Allow the --allow_skip_files flag to be passed down to dev_appserver
  • Loading branch information...
2 parents 7399a6e + 8716d2d commit 421584e8aaabc94cbbd4acd35ed03c0a3fc9b4ec @wrwrwr wrwrwr committed Jan 12, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 management/commands/runserver.py
@@ -55,6 +55,8 @@ class Command(BaseRunserverCommand):
help='The password to use with the SMTP server for sending email messages.'),
make_option('--use_sqlite', action='store_true', default=False,
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.'),
)
help = 'Runs a copy of the App Engine development server.'
@@ -126,7 +128,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',]
+ 'high_replication', 'enable_sendmail', 'use_sqlite', 'allow_skipped_files']
for opt in bool_options:
if options[opt] != False:
args.append("--%s" % opt)

0 comments on commit 421584e

Please sign in to comment.