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)