mirror of
https://github.com/django/django.git
synced 2025-09-24 11:12:36 +00:00
Fixed #32094 -- Fixed flush() calls on management command self.stdout/err proxies.
This commit is contained in:
parent
b7da588e88
commit
f1f24539d8
3 changed files with 19 additions and 0 deletions
8
tests/user_commands/management/commands/outputwrapper.py
Normal file
8
tests/user_commands/management/commands/outputwrapper.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, **options):
|
||||
self.stdout.write('Working...')
|
||||
self.stdout.flush()
|
||||
self.stdout.write('OK')
|
Loading…
Add table
Add a link
Reference in a new issue