update django in postupdate

This commit is contained in:
j 2013-09-19 14:01:40 +02:00
parent 01a6faed0d
commit acb74219ee

View file

@ -86,6 +86,12 @@ if __name__ == "__main__":
if old < 3448: if old < 3448:
if os.path.exists('static/pandora'): if os.path.exists('static/pandora'):
run('bzr', 'resolved', 'static/pandora') run('bzr', 'resolved', 'static/pandora')
if old < 3651:
if os.path.exists('src/django/.git'):
os.chdir(os.path.join(base, 'src/django'))
run('git', 'checkout', 'stable/1.4.x')
run('git', 'pull')
os.chdir(base)
else: else:
if len(sys.argv) == 1: if len(sys.argv) == 1: