django/tests/user_commands/management/commands/outputwrapper.py

9 lines
215 B
Python

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")