• Loic Bistuer's avatar
    Fixed #23107 -- Made runserver output respect --no-color. · c34e13e1
    Loic Bistuer yazdı
    This commit reverts 67d7da5f.
    
    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.
    c34e13e1
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...