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

11 lines
215 B
Python

from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = "Say hello."
args = ''
output_transaction = True
def handle(self, *args, **options):
return 'Hello!'