Saturday, March 31, 2018

Re: Updating Django for my web based application

Hi,

In most cases, if possible I would upgrade latest release. Main issue with 1.11 to 2.0 upgrade is Python 2 support. 1.11 is the last version to support Python 2.7 and starting from Django 2.0 Python 3 is required.

Of course, if your project is a big that takes long time to upgrade, sticking with LTS isn't bad choice.

On Sat, Mar 31, 2018 at 11:45 AM, Haroon Ahmed <haroon70a@gmail.com> wrote:
Hi,

Thanks for the information!

Should i upgrade to Django 2 for my project? As Django 2 is not Long Time Supported.
Django 1.11 is the latest release that is Long Time Supported yet! 

Should I go for Django 1.11 at the moment rather then Django 2.0? What will  be your suggestion for me? 

What is being followed in the industry, How to decide which Django should be chosen to upgrade the application?


Thanks in advance!



On Fri, Mar 30, 2018, 5:12 PM Jani Tiainen <redetin@gmail.com> wrote:
Hi,

Standard procedure to update Django is to upgrade gradually all versions from source version to target.

There is no single document to describe changes needed between versions that are apart more than one release.

Only changelog you can find is at every release which contains changes from previous release.

You can try to combine required changes to directly upgrade.

pe 30. maaliskuuta 2018 klo 14.07 Haroon Ahmed <haroon70a@gmail.com> kirjoitti:
Hi, 

Currently my application is developed with Django 1.9.8 and I want to upgrade it to 2.0.3 because 
Django 1.9.8 is an insecure version of django as mention on it official documentation.


This document is for an insecure version of Django that is no longer supported. Please upgrade to a newer release!


Its my first time to update Django Version for my application,
I have updated the Dango 1.9.8 to Django 2.0.3 in my virtual environment.
I am using Python 3.4.4

I haven't changes any thing in the code yet and facing some error

\virtualEnv\DjangoUp\lib\site-packages\rest_framework\routers.py", line 23, in <module>
from django.core.urlresolvers import NoReverseMatch
ImportError: No module named 'django.core.urlresolvers'

Some question that are coming into my mind:
  • Do i have to update my application according to new Django release every time when new Django version releases?
  • Is there any article or blog written that can help me to upgrade Django version from Django 1.9.8 to Django 2.0.3?
  • What people follow, dose most of the developers upgrade there web application according to new Django version release?
Any kind of help will be appreciated, Thanks in advance.

--
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/1162960f-46e4-4c24-9e36-df1d7edbb2eb%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+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/CAHn91oeRFX6N7cvUTL9jwLGQJOTV8dLxCUWKdicCiYbbqCUbtA%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/CAAAomxk-iJ0c9uag%2B16r64Faf_HMh_kre64gSv379GNnQ3%3DcOg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

--
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/CAHn91ofU63Yo3AfmDRSK%2B1%3DwAtqkSZmGj7PA32xW5d%3DP8BG%3DFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment