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

9 lines
215 B
Python
Raw Normal View History

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