Skip to content

Commit

Permalink
bug fix: upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Oct 19, 2019
1 parent 291a946 commit 2717294
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plogical/upgrade.py
Expand Up @@ -1164,11 +1164,11 @@ def GeneralMigrations():
cwd = os.getcwd()
os.chdir('/usr/local/CyberCP')

command = 'python manage.py makemigrations'
command = '/usr/local/CyberPanel/bin/python2 manage.py makemigrations'
Upgrade.executioner(command, 'python manage.py makemigrations', 0)

command = 'python manage.py makemigrations'
Upgrade.executioner(command, 'python manage.py migrate', 0)
command = '/usr/local/CyberPanel/bin/python2 manage.py makemigrations'
Upgrade.executioner(command, '/usr/local/CyberPanel/bin/python2 manage.py migrate', 0)

os.chdir(cwd)

Expand Down

0 comments on commit 2717294

Please sign in to comment.