mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #32094 -- Fixed flush() calls on management command self.stdout/err proxies.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b7da588e88
commit
f1f24539d8
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')
|
||||
Reference in New Issue
Block a user