mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #23303 -- Added BEGIN and COMMIT statements to the output of sqlmigrate.
This commit is contained in:
10
tests/user_commands/management/commands/transaction.py
Normal file
10
tests/user_commands/management/commands/transaction.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = "Say hello."
|
||||
args = ''
|
||||
output_transaction = True
|
||||
|
||||
def handle(self, *args, **options):
|
||||
return 'Hello!'
|
||||
Reference in New Issue
Block a user