better upgrade instructions, fixes #1176

This commit is contained in:
j 2012-12-11 15:52:25 +01:00
parent 30850ccd81
commit 80e9569595

View file

@ -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)