Forums

Upgrading Django to 1.6

I think I might be having incompatibility issues on Django 1.3 that is currently installed on my PA server. How can I upgrade to 1.6?

https://www.pythonanywhere.com/wiki/VirtualEnvForNewerDjango

How do I upgrade an already existing web app? Just naming a new virtual environment django16 does the trick?

You still need to follow almost all of the same steps as if you were starting a brand new web app, as in the help guide:

  • create a virtualenv
  • pip install the new version of django into it, and any other packages your app needs
  • edit your WSGI file, and add the activate_this lines at the top

Thanks harry! That did it for me :)

Thanks harry! That did it for me :)

:)