Friday, March 29, 2019

Re: Upgrading Django from 1.11 to 2.2

First use 'pip freeze' in your virtual env to see all the packages installed. Then checkout their official, latest documentation to see whether they support django2.1 or not.

 Even if all them do, you might need to make a lot of changes in your code after upgrade. 

And no, you dont need to install django2 install django2.1. 

If you have checked libraries and are sure to upgrade then first uninstall prev version using 'pip uninstall django' and install the latest stable version by sinply using 'pip install django'

On Fri, 29 Mar 2019, 14:22 אורי, <uri@speedy.net> wrote:
Hi,

I want to upgrade Django from 1.11 to 2.2. Do I have to upgrade first to 2.0 and then to 2.1, or can I upgrade directly from 1.11 to 2.2?

By the way, we use many third-party packages and I'm not sure which version of Django they support. Maybe not all of them already support Django 2.2.

Thanks!

--
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/CABD5YeGDTteqPxsxq6rTQ4D8rLX%3D2nER61gBXMueSM088HWuoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CAC3mK7feiC0SQ7PNJJHqNbs13f_2pHeyBnGUXFYLrMV%3DCt8XoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment