I am new to Python and Django. I have an existing Django/Python project, which I am trying to deploy to Python Anywhere, given I need to pull some data for work. I followed the thread - https://help.pythonanywhere.com/pages/DeployExistingDjangoProject/, to help the process.
Everything is working fine, until I get to migrating the old DB to my VirtualEnv setup. I get an error message
Traceback (most recent call last): File "./manage.py", line 2, in <module> from django.core.management import execute_manager File "/home/sqhan/.virtualenvs/bbproject-virtualenv/lib/python3.4/site-packages/django/core/management/init.py", line 52 except ImportError,e: ^ SyntaxError: invalid syntax
Any guidance on how to resolve the matter would be greatly appreciated. I have made sure the Django versions from previous project match with the one install on the virtualenv.