Re: Upgrading Django from 1.11 to 2.2

2019-04-02 Thread אורי
>From the page Tim linked:

"If you’re upgrading through more than one feature version (e.g. A.B to
A.B+2), it’s usually easier to upgrade through each feature release
incrementally (A.B to A.B+1 to A.B+2) rather than to make all the changes
for each feature release at once. For each feature release, use the latest
patch release (A.B.C).

The same incremental upgrade approach is recommended when upgrading from
one LTS to the next."
So it's written there. It's recommended to upgrade through each feature
release incrementally and not directly from LTS to the next LTS.

אורי
u...@speedy.net


On Tue, Apr 2, 2019 at 5:31 AM Tim Graham  wrote:

> The advice is to go from one the major version to the next. Don't try to
> skip versions.
>
> --
> 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+unsubscr...@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/f86c4ebd-b81e-4239-a561-ba196c67e40b%40googlegroups.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+unsubscr...@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/CABD5YeHYyQHtHRgAeNTpqSLp7t3aOa8yWJHH31R-CpZ7WfVKwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-04-02 Thread אורי
I accept Tim's advice to upgrade from one major version to the next. Even
if I want to upgrade from 1.11 to 2.2, I have to upgrade first to 2.0 and
then 2.1 and only then 2.2. It makes sense.

אורי
u...@speedy.net


On Tue, Apr 2, 2019 at 4:44 PM Derek  wrote:

> I agree; and the reason for Django moving to LTS releases was so that you
> would be able to upgrade from one LTS to the next.  Hence the OP (and
> others like me I am sure) asking how that can be done - we are looking for
> specific advice or instructions (and less about "general" guidelines).
>
> On Tuesday, 2 April 2019 05:32:14 UTC+2, dvij parekh wrote:
>>
>> always go for 2nd last or 3rd last release of any framework or any
>> language it will be more stable but if you want to go with 2.2 you can
>> because it comes with LTS
>>
>> On Friday, March 29, 2019 at 2:22:10 PM UTC+5:30, Uri Even-Chen 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!
>>> אורי
>>> u...@speedy.net
>>>
>> --
> 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+unsubscr...@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/992c0bfd-14d6-4e2e-a830-cd8ff68d7f93%40googlegroups.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+unsubscr...@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/CABD5YeHpB3diTD6Dcxafb1EwqA6FPwzkb%3DvAxE1Zz3ZqMfz63w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-04-02 Thread Derek
I agree; and the reason for Django moving to LTS releases was so that you 
would be able to upgrade from one LTS to the next.  Hence the OP (and 
others like me I am sure) asking how that can be done - we are looking for 
specific advice or instructions (and less about "general" guidelines).

On Tuesday, 2 April 2019 05:32:14 UTC+2, dvij parekh wrote:
>
> always go for 2nd last or 3rd last release of any framework or any 
> language it will be more stable but if you want to go with 2.2 you can 
> because it comes with LTS
>
> On Friday, March 29, 2019 at 2:22:10 PM UTC+5:30, Uri Even-Chen 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!
>> אורי
>> u...@speedy.net
>>
>

-- 
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+unsubscr...@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/992c0bfd-14d6-4e2e-a830-cd8ff68d7f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-04-01 Thread dvij parekh
always go for 2nd last or 3rd last release of any framework or any language 
it will be more stable but if you want to go with 2.2 you can because it 
comes with LTS

On Friday, March 29, 2019 at 2:22:10 PM UTC+5:30, Uri Even-Chen 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!
> אורי
> u...@speedy.net 
>

-- 
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+unsubscr...@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/8bd204d9-dcfb-41f7-b62e-5976d7320c1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-04-01 Thread dvij parekh
always go for 2nd last or 3rd last release of any frame it will be more 
stable but if you want to go 2.2 you can because it comes with LTS

On Friday, March 29, 2019 at 2:22:10 PM UTC+5:30, Uri Even-Chen 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!
> אורי
> u...@speedy.net 
>

-- 
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+unsubscr...@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/c326d8e9-2eaf-4a07-81e1-a75abbce39f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-04-01 Thread Tim Graham
The advice is to go from one the major version to the next. Don't try to skip 
versions.

-- 
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+unsubscr...@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/f86c4ebd-b81e-4239-a561-ba196c67e40b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-04-01 Thread Derek
The upgrade doc has good, general advice but does not specifically address 
the issue of LTS-to-LTS upgrades; I must admit I am a bit disappointed as I 
thought that there would be explicit, official support for this migration 
(and its one of the reasons I have stayed on the older LTS up to now).

On Saturday, 30 March 2019 15:36:48 UTC+2, Tim Graham wrote:
>
> Consider the "Upgrading Django to a newer version" guide.
> https://docs.djangoproject.com/en/stable/howto/upgrade-version/
>
> On Friday, March 29, 2019 at 4:52:10 AM UTC-4, Uri Even-Chen 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!
>> אורי
>> u...@speedy.net
>>
>

-- 
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+unsubscr...@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/0e9705b9-870f-4e35-a2fa-4c5ca3074c74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-03-30 Thread Tim Graham
Consider the "Upgrading Django to a newer version" guide.
https://docs.djangoproject.com/en/stable/howto/upgrade-version/

On Friday, March 29, 2019 at 4:52:10 AM UTC-4, Uri Even-Chen 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!
> אורי
> u...@speedy.net 
>

-- 
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+unsubscr...@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/00868231-d3a9-4d4d-ab8e-f5de77c28745%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-03-29 Thread Balkesh Choudhary
you can upgrade directly from 1.11 to 2.2, but some of third party packages
may not support Django 2.2

‪On Fri, Mar 29, 2019 at 2:22 PM ‫אורי‬‎  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!
> אורי
> u...@speedy.net
>
> --
> 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+unsubscr...@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+unsubscr...@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/CANJ0LkapZOEnRhn8g7cbTkpLwEZS2rCrZhiyBbiHXqyXZCvc3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-03-29 Thread Ahmed Ishtiaque
I'd suggest not worrying too much about upgrading to 2.2 right away. Since
it's going to be an LTS release, the projects your project depends on will
probably consider adding 2.2 support fairly fast.

But if you want to give it a shot anyway, I'd suggest taking a look at what
changed from 1.11 to 2.0, and trying a version bump and checking which of
your tests fail. As far as I'm concerned, there shouldn't be too many
differences between the django 2.x versions.

There's also a guide provided by the official docs here:
https://docs.djangoproject.com/en/2.1/howto/upgrade-version/

Hope this helps.

On Fri, Mar 29, 2019, 4:52 AM אורי  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!
> אורי
> u...@speedy.net
>
> --
> 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+unsubscr...@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+unsubscr...@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/CAKizqR7vtdO48SKAv7%3D-LcpmamT8fK9ckO_0EY-Z61EdQZZnRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-03-29 Thread Anirudh Jain
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 אורי,  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!
> אורי
> u...@speedy.net
>
> --
> 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+unsubscr...@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+unsubscr...@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.


Upgrading Django from 1.11 to 2.2

2019-03-29 Thread אורי
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!
אורי
u...@speedy.net

-- 
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+unsubscr...@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.