magento installer

This commit is contained in:
Usman Nasir
2019-11-07 09:37:06 +05:00
parent c3e3fa047b
commit 40ee12615c
10 changed files with 679 additions and 28 deletions

View File

@@ -606,6 +606,22 @@ def installPrestaShop(request, domain):
except KeyError:
return redirect(loadLoginPage)
def installMagento(request, domain):
try:
userID = request.session['userID']
wm = WebsiteManager(domain)
return wm.installMagento(request, userID)
except KeyError:
return redirect(loadLoginPage)
def magentoInstall(request):
try:
userID = request.session['userID']
wm = WebsiteManager()
return wm.magentoInstall(userID, json.loads(request.body))
except KeyError:
return redirect(loadLoginPage)
def prestaShopInstall(request):
try:
userID = request.session['userID']