Azure MySQL transaction.atomic() in Django gives a server error

前端 未结 0 1213
误落风尘
误落风尘 2021-01-26 15:00

I use an Azure VM, mysqlclient==1.4.6, Django==2.1.5

My code in admin.py:

from django.db import transaction
...
    try:
        with transaction.atomic():         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题