marcoamorales
marcoamorales

Reputation: 623

Which is the besy way to update a Django project from 1.25 to 1.4

I don't know what I was thinking and I don't have any kind of tests on this project. I want to upgrade it to 1.4 to be able to add to it all kind of different tests and have a more rigid project. What tips or recommendations can you guys give me?

Thanks.

Upvotes: 0

Views: 183

Answers (1)

Mikael
Mikael

Reputation: 3236

I would recommend you to read through the release notes for each release to try to identify any areas that have changed that might break your existing code. Find them here https://docs.djangoproject.com/en/dev/releases/

Since you don't have any tests for your project you just have to roll up your sleeves and run full site tests where you run your app and try to test as many features you can to see if it is working as epxected.

I have just done the 1.1.1 to 1.4 upgrade (but I had some tests to help me) and it was not that bad.

There are 2 aspects of the upgrade. One is just to get your app to run on the new version and one is to change/update your code to utilize the new features in the 1.4 release. I would recommend that you first get it to work properly, release it and then refactor your code as you go along to use any new feature.

Upvotes: 1

Related Questions