better upgrade instructions, fixes #1176
This commit is contained in:
parent
30850ccd81
commit
80e9569595
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@ if __name__ == "__main__":
|
||||||
print "You are upgrading from an older version of pan.do/ra."
|
print "You are upgrading from an older version of pan.do/ra."
|
||||||
print "Please use ./manage.py sqldiff -a to check for updates"
|
print "Please use ./manage.py sqldiff -a to check for updates"
|
||||||
print "and apply required changes. You might have to set defaults too."
|
print "and apply required changes. You might have to set defaults too."
|
||||||
print "Once done run ./manage.py migrate --all --fake"
|
print "Once done run:"
|
||||||
|
print "\tcd %s" % os.path.abspath(os.curdir)
|
||||||
|
print "\t./manage.py migrate --all --fake"
|
||||||
print "Check http://wiki.0x2620.org/wiki/pandora/DatabaseUpdate for more information"
|
print "Check http://wiki.0x2620.org/wiki/pandora/DatabaseUpdate for more information"
|
||||||
else:
|
else:
|
||||||
os.chdir(base)
|
os.chdir(base)
|
||||||
|
|
Loading…
Reference in a new issue