Skip to content
Commit 76c526f8 authored by Rivo Laks's avatar Rivo Laks Committed by Tim Graham
Browse files

[1.8.x] Fixed #24769 -- Cast optparse verbosity argument to an integer for...

[1.8.x] Fixed #24769 -- Cast optparse verbosity argument to an integer for better backwards compatibility.

Using `BaseCommand.options_list` makes Django use the legacy optparse
parser, which does not set the verbosity attribute correctly. Now the
verbosity argument is always cast to int. Regression in 85686386 (#19973).

Initial report and patch from blueyed.

Backport of a0047c62 from master
parent 8bc18ebf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment