Reputation: 12628
migrating from one django version to the next, usually requires that you read the docs and check which functions / methods are deprecated. I.e, going from 1.2 to 1.3 one needs to replace the following calls
So what I usually do, is grep my source code for the functions in question. I was wondering whether someone has written a nice little python script or so, which goes through all code and gives you a digested list of all changes that are necessary.
Upvotes: 0
Views: 197
Reputation: 972
If you have full unit test coverage, you can just upgrade your Django and run your test suite. Deprecation notices will be given for any of your code which uses deprecated features.
If you don't have full unit test coverage then now is a good time to start writing them, so that your're prepared for when you upgrade from 1.3 to 1.4.
Upvotes: 1