Reputation: 6744
I have just taken over the code for a Django project with the following requirements:
Django==1.6.8
Pillow==2.6.1
South==1.0.1
django-grappelli==2.6.3
django-tastypie==0.12.1
requests==2.4.3
simplejson==3.6.5
python-amazon-product-api==0.2.8
MySQL-python==1.2.3
I am new to Django and was wondering if I should be looking to update to a more recent version or if it is ok to carry on using version 1.6.8? The version of Python currently being used is 2.7.6.
I don't at this stage want to get into making many changes to the code.
Upvotes: 3
Views: 2819
Reputation: 308769
You should upgrade. Django 1.6.X has been end of life for several months, and no longer receives security updates.
At the time of writing, the supported versions are 1.4.X LTS, 1.7.X and 1.8.X LTS. If you do not want to upgrade often, then upgrade to 1.8.X, as it is a long term support release and will be supported until April 2018 according to the roadmap.
You should always upgrade to the latest point release e.g. 1.8.4 to 1.8.5, to make sure you have the latest bug and security fixes. These point releases are backwards compatible wherever possible. By running 1.6.8, you are missing bugfixes and security fixes in 1.6.9 - 1.6.11. However, there will not be a 1.6.12 release, even though Django has had other security releases since 1.6.11, because 1.6 is now end of life.
Upvotes: 4
Reputation: 32497
Speaking as someone who just upgraded an app from that Django version, here are my experiences:
The good
The bad
The ugly
Upvotes: 1
Reputation: 31522
If you don't want to make any changes to the code, only upgrade to django 1.6.X versions (for security reasons). I just looked in the page and the last version in 1.6 is 1.6.11, but this version is deprecated and shall not receive any updates in the future.
If you and your team are using something like virtualenv or vagrant and have a lot of tests, you could make the experiment, but since 1.6 a lot of things are changed.
Upvotes: 1