We developed project with django version 1.2 and python 2.4. Now we want to migrate the projects into latest version (Django1.4 and python2.7).
I am very new for migration, Can anyone please advise on this.
What things do I need to take careof?
Do we need to rewrite all the code again?
This is what we are doing (we’re upgrading ~60Kloc from Django 0.97 to 1.4):
__init__.pyfile indicating which Django version your code works with (this will save you a lot of time one day 🙂Now you’ve upgraded your code (you’ll still have to plan the deployment of the upgrade, but that’s another question).
ps: we store Django in our VCS so we can keep track of any changes we need to make to Django itself (especially needed if you don’t want to go to 1.4, but still might need one or two fixes from that version).