From b98f9793994f1521f155309097c45aa1d4fc7cf2 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Wed, 25 Oct 2023 12:32:02 +0500 Subject: [PATCH] bug fix in upgrade function --- baseTemplate/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baseTemplate/views.py b/baseTemplate/views.py index 1f8cd674d..45fc3aa49 100755 --- a/baseTemplate/views.py +++ b/baseTemplate/views.py @@ -150,7 +150,7 @@ def upgrade(request): res = subprocess.call(cmd) vers = version.objects.get(pk=1) - from upgrade import Upgrade + from plogical.upgrade import Upgrade Upgrade.initiateUpgrade(vers.currentVersion, vers.build) adminData = {"upgrade": 1} json_data = json.dumps(adminData)