drop python2 support, upgrade to django 3

This commit is contained in:
j 2020-05-29 00:20:18 +02:00
commit 844382b1e8
124 changed files with 413 additions and 563 deletions

View file

@ -275,6 +275,9 @@ if __name__ == "__main__":
]
with open('pandora/local_settings.py', 'w') as f:
f.write('\n'.join(local_settings))
if old <= 6313:
run('./bin/pip', 'uninstall', 'django-celery', '-y')
run('./bin/pip', 'install', '-r', 'requirements.txt')
else:
if len(sys.argv) == 1:
branch = get_branch()