1
0
mirror of https://github.com/django/django.git synced 2025-07-05 18:29:11 +00:00

[soc2009/multidb] Updated createcachetable management command for new multidb transaction API

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2009-06-03 21:02:35 +00:00
parent c233618d4b
commit 7c797e138d

View File

@ -49,4 +49,4 @@ class Command(LabelCommand):
curs.execute("\n".join(full_statement))
for statement in index_output:
curs.execute(statement)
transaction.commit_unless_managed()
transaction.commit_unless_managed(using=alias)