From 70b8e56e1fa6a7f278ade4b587f00c05dfeb41ab Mon Sep 17 00:00:00 2001 From: ngfchl Date: Fri, 26 Aug 2022 12:02:58 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=A2=9E=E5=8A=A0=E8=A7=84=E5=88=99?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=9F=E8=83=BD=EF=BC=88=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=95=B0=E6=8D=AE=E5=BA=93=EF=BC=8C=E6=9C=89?= =?UTF-8?q?=E9=A3=8E=E9=99=A9=EF=BC=8C=E8=AF=B7=E5=AE=9A=E6=9C=9F=E5=A4=87?= =?UTF-8?q?=E4=BB=BD=E6=95=B0=E6=8D=AE=E5=BA=93=EF=BC=89=202.=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=83=A8=E5=88=86=E7=AB=99=E7=82=B9=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_pt/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/auto_pt/views.py b/auto_pt/views.py index 470c358..fbec9c2 100644 --- a/auto_pt/views.py +++ b/auto_pt/views.py @@ -126,6 +126,7 @@ def do_update(request): # 更新数据库 with open('main_pt_site_site.sql', encoding='utf-8') as sql_file: contents = sql_file.readlines() + print(contents[0]) with connection.cursor() as cursor: for statement in contents: cursor.execute(statement)