Fixed #23685 -- Made call_command skip checks by default

Thanks Loic Bistuer for the report/review and Tim Graham for the
review.
This commit is contained in:
Claude Paroz 2014-10-19 21:17:38 +02:00
parent a39df37049
commit 685edab9da
4 changed files with 29 additions and 3 deletions

View file

@ -15,5 +15,6 @@ class Command(BaseCommand):
example = options["example"]
if example == "raise":
raise CommandError()
self.stdout.write("I don't feel like dancing %s." % options["style"])
self.stdout.write(','.join(options.keys()))
if options['verbosity'] > 0:
self.stdout.write("I don't feel like dancing %s." % options["style"])
self.stdout.write(','.join(options.keys()))