Sunday, September 23, 2018

Re: Update django 1.8 project to 2.0 lts

Django 2.0 Not LTS warning!! the next LTS Django version is 2.2

Cheers

On Sun, Sep 23, 2018 at 6:08 PM Mike Dewhirst <miked@dewhirst.com.au> wrote:
On 23/09/2018 11:15 PM, 'David Brown' via Django users wrote:
> I have a large django project built in 1.8 with about 14 apps and a large amount of dependencies.
>
> I already have a good idea about how I'm going to update the 2.7 code to 3.6 or possibly just make it compatible with both, however, I'm not sure what is the best practice and most efficient way to refactor/upgrade the django framework to 2.0 from 1.8.
>
> Bare in mind this thousands of lines of code so efficiency in terms of work is crucial.

I suggest bringing the Django code only as far as 1.11 in Python 2.7.
Django 1.11 is a LTS version.

Then I would advance the same code to Python 3.x and get that working as
a separate ring-fenced project. You can do that away from production or
using six and other dual-Python tricks you can also deploy 3.x code to
production. I have been writing in 3.x and deploying in 2.7 for quite
some time. One of these days I'll switch the production server to
Python3 and drop 2.7.

Only with Django 1.11 and Python 3.x working properly in production will
I advance to the next Django 2.x LTS version

Oh, and heaps of tests :)

hth

Mike

>
> Thanks in advance for all suggestions!
>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c04babcd-b1cf-4b0b-fdb6-854e9671c543%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.


--
att.
Carlos Rocha

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAM-7rO3rtp7LvwBwFpr29-i5ZuDBZ%2BH2V1u-74ZQn4XBy0fhfg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment