diff options
| author | Loic Bistuer <loic.bistuer@gmail.com> | 2014-10-20 18:01:03 +0700 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@gmail.com> | 2014-10-22 01:03:15 +0700 |
| commit | c34e13e17c664ea43b85572428bcf74c7509db3f (patch) | |
| tree | 8e19c3d6ea197d3748404a5f32053b67bc745d4e /tests/proxy_model_inheritance | |
| parent | 9f1202c166093160c8796dc570d675415fdf5bf8 (diff) | |
Fixed #23107 -- Made runserver output respect --no-color.
This commit reverts 67d7da5fb9498b811f0168f5df2308ad4743027f.
The previous fix changed the environment globally, which meant
that any call to `call_command(no_color=True)` prevented further
`call_command` with color.
This fix still relies on the environment because it's currently the only
way to reach WSGIRequestHandler, but it's now limited to the `runserver`
command. This seems an acceptable compromise considering `runserver` runs
indefinitely.
Thanks Tim Graham for the review.
Diffstat (limited to 'tests/proxy_model_inheritance')
0 files changed, 0 insertions, 0 deletions
