Saturday, March 31, 2018

Re: Updating Django for my web based application

Hi Ahmed, 
I made some inline comments 

On Sat, 31 Mar 2018, 10:44 Haroon Ahmed, <haroon70a@gmail.com> wrote:
Hi,

I am using python 3.4 already!
Yes my project is big, it is almost completed now but the requirement is to upgrade it to latest suitable release and that release should  not be insecure. 

when i started this project, it was not written on Django 1.9.8 official document that its an insecure version

Django is built with the highest regard for security. Sometimes some security holes might be found but they are always plugged as soon as they are found. 
Now i am thinking that Django 2 is not LTS so what is the guaranty that it will be a secure Django Version! 

If security is your concern, the latest release of django is always your best choice. 


On Sat, Mar 31, 2018, 2:34 PM Jani Tiainen <redetin@gmail.com> wrote:
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.

--
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/CAAAomxmnx81O%3D884x9a%2BVUE8P-R0cauP26Dexh5EzL%2BFga_3vA%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/CA%2BWjgXNZD3_907iLiFCGHLsw5xXTdvhy2_CDbnPmHL9%2B94tSBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment