Re: upgrading to 1.5.1
On Sun, Aug 18, 2013 at 2:51 AM, Harjot Mannwrote: > Hello Everyone > Currently I am using django version 1.4.5 and I want to upgrade it to > 1.5.1, I have an app in django. I want to know that what problems will > I face while upgrading to that version. I have no idea about the > features of new version. Any major points which I need to take into > consideration? The 2 issues I ran into are: 1. first argument to url must be quoted 2. direct_to_template and redirect_to have been deprecated in favor of RedirectView, and you can no longer pass in extra context. -- 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 http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: upgrading to 1.5.1
On Sun, Aug 18, 2013 at 12:21 PM, Harjot Mannwrote: > Hello Everyone > Currently I am using django version 1.4.5 and I want to upgrade it to > 1.5.1, I have an app in django. I want to know that what problems will > I face while upgrading to that version. I have no idea about the > features of new version. Any major points which I need to take into > consideration? > In the 1.5 django version, url requires a non-empty first argument, so you have to change it accordingly, and there should be other change in the urls and views, but the advantage of this version is that ,In Django 1.5, you can now swap out theUser model for one that you write yourself. This could be a simple extension to the existing User model – for example, you could add a Twitter or Facebook ID field – or you could completely replace the User with one totally customized for your site. -- Satinderpal Singh -- 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 http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: upgrading to 1.5.1
On Sun, Aug 18, 2013 at 12:21 PM, Harjot Mannwrote: > Hello Everyone > Currently I am using django version 1.4.5 and I want to upgrade it to > 1.5.1, I have an app in django. I want to know that what problems will > I face while upgrading to that version. I have no idea about the > features of new version. Any major points which I need to take into > consideration? Basically in your app. what you need is to change templateview at place of direct_to_template and put every url in double quotes "". -- Deepak Kumar Sharma Blog: http://deekysharma.wordpress.com -- 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 http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: upgrading to 1.5.1
Also, you should be upgrading to 1.5.2 - there's a serious security update. cheers L. On 18 August 2013 17:08, Mike Dewhirstwrote: > On 18/08/2013 4:51pm, Harjot Mann wrote: >> >> Hello Everyone >> Currently I am using django version 1.4.5 and I want to upgrade it to >> 1.5.1, I have an app in django. I want to know that what problems will >> I face while upgrading to that version. I have no idea about the >> features of new version. Any major points which I need to take into >> consideration? > > > It depends ... > > https://docs.djangoproject.com/en/1.5/releases/1.5/#backwards-incompatible-changes-in-1-5 > > > > > >> > > -- > 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 http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. -- Maya Otos (@maya_otos) tweeted at 9:27 PM on Tue, Jul 30, 2013: When you used to be punk, and now you are still punk but not as punk, are you post-punk or decaying punk or ex-punk or just not punk anymore -- 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 http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: upgrading to 1.5.1
On 18/08/2013 4:51pm, Harjot Mann wrote: Hello Everyone Currently I am using django version 1.4.5 and I want to upgrade it to 1.5.1, I have an app in django. I want to know that what problems will I face while upgrading to that version. I have no idea about the features of new version. Any major points which I need to take into consideration? It depends ... https://docs.djangoproject.com/en/1.5/releases/1.5/#backwards-incompatible-changes-in-1-5 -- 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 http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.
upgrading to 1.5.1
Hello Everyone Currently I am using django version 1.4.5 and I want to upgrade it to 1.5.1, I have an app in django. I want to know that what problems will I face while upgrading to that version. I have no idea about the features of new version. Any major points which I need to take into consideration? -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ Daily Dairy: http://harjotmann.wordpress.com/daily-diary/ -- 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 http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.