Re: moving to django 1.2.1

2010-08-08 Thread Michael P. Soulier
On 08/08/10 Michael P. Soulier said: > I've picked-up Django 1.2 locally in a virtualenv for testing, and I'm > finding suddenly that I can't login to the admin site due to a CSRF error. Ah, found it. Somehow some firefox add-on disabled my accepting of cookies. The error I saw didn't mention tha

Re: moving to django 1.2.1

2010-08-08 Thread Michael P. Soulier
On 31/07/10 Russell Keith-Magee said: > * If you have an existing project, the introduction of CSRF > protection in Django 1.2 shouldn't pose any obstacle to upgrading. > CSRF protection is turned on by default in new projects, but you need > to manually turn it on for existing projects (i.e., yo

Re: moving to django 1.2.1

2010-08-04 Thread Michael P. Soulier
On 31/07/10 Russell Keith-Magee said: > Ok - I'm repeating myself here, but we take backwards compatibility > *very* seriously. If anyone can point at a specific backwards > incompatible change that was introduced in Django 1.2, then that is a > bug that we need to address, and would in all likeli

Re: moving to django 1.2.1

2010-08-04 Thread dadeng
Hi, I have tried to follow the tutorial for 1.2.1 but i'm having problems the explanation for adding __unicode__() or __str__() to the class to make it to list the polls correctly without any success. addition of this code did not really fix anything in the polls listings; lass Poll(models.Model

Re: moving to django 1.2.1

2010-08-02 Thread tiemonster
Thank you so much for the valuable feedback regarding my post. I value peer review, and take it very seriously. I've updated the article to attempt to address your concerns. Please review it at your convenience to ensure that your concerns are addressed appropriately. http://www.tiemonster.info/a/

Re: moving to django 1.2.1

2010-07-31 Thread Russell Keith-Magee
On Sat, Jul 31, 2010 at 9:45 PM, Michael P. Soulier wrote: > On 30/07/10 tiemonster said: > >> I cover some of the new changes in Django 1.2 in this article: >> http://www.tiemonster.info/a/24005/ >> >> Most of this information comes straight from the changelist. Others >> were things that the cor

Re: moving to django 1.2.1

2010-07-31 Thread Russell Keith-Magee
On Fri, Jul 30, 2010 at 8:14 PM, tiemonster wrote: > I cover some of the new changes in Django 1.2 in this article: > http://www.tiemonster.info/a/24005/ > > Most of this information comes straight from the changelist. Others > were things that the core developers must have assumed were common > s

Re: moving to django 1.2.1

2010-07-31 Thread Michael P. Soulier
On 30/07/10 tiemonster said: > I cover some of the new changes in Django 1.2 in this article: > http://www.tiemonster.info/a/24005/ > > Most of this information comes straight from the changelist. Others > were things that the core developers must have assumed were common > sense, but that I didn

Re: moving to django 1.2.1

2010-07-30 Thread tiemonster
I cover some of the new changes in Django 1.2 in this article: http://www.tiemonster.info/a/24005/ Most of this information comes straight from the changelist. Others were things that the core developers must have assumed were common sense, but that I didn't think about when upgrading. If you run

Re: moving to django 1.2.1

2010-07-29 Thread knight
Thank you all for the links and advises. It really helps me. Regards, Alex A. On Jul 29, 10:32 am, Russell Keith-Magee wrote: > On Wed, Jul 28, 2010 at 9:29 PM, Massimiliano Ravelli > > wrote: > > On Jul 28, 3:13 pm, knight wrote: > >> What are the minimal changes that I need to make in order

Re: moving to django 1.2.1

2010-07-29 Thread Russell Keith-Magee
On Wed, Jul 28, 2010 at 9:33 PM, Maksymus007 wrote: > On Wed, Jul 28, 2010 at 3:29 PM, Massimiliano Ravelli > wrote: >> On Jul 28, 3:13 pm, knight wrote: >>> What are the minimal changes that I need to make in order to work with >>> 1.2.1? >> >> Did you have a look at >> http://code.djangoproje

Re: moving to django 1.2.1

2010-07-29 Thread Russell Keith-Magee
On Wed, Jul 28, 2010 at 9:29 PM, Massimiliano Ravelli wrote: > On Jul 28, 3:13 pm, knight wrote: >> What are the minimal changes that I need to make in order to work with >> 1.2.1? > > Did you have a look at > http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges > ? As it says at the

Re: moving to django 1.2.1

2010-07-29 Thread shofty
wasnt there some good stuff on djangoadvent? http://djangoadvent.com/1.2/django-12-and-csrf/ Matt On Jul 28, 2:44 pm, knight wrote: > Does anybody knows a good post or blog about the changes including > csrf? > > On Jul 28, 4:33 pm, Maksymus007 wrote: > > > On Wed, Jul 28, 2010 at 3:29 PM, Mas

Re: moving to django 1.2.1

2010-07-28 Thread dan levine
One issue that bit me that has also been mentioned here in other threads: errors that were previously caught are now raised as errors. So technically it was wrong previously but functionally it only breaks on 1.2. I haven't found a good explanation / summary of what/why/ which errors it now affect

Re: moving to django 1.2.1

2010-07-28 Thread Massimiliano Ravelli
On 28 Lug, 15:44, knight wrote: > Does anybody knows a good post or blog about the changes including > csrf? I forgot to suggest reading http://docs.djangoproject.com/en/dev/releases/1.2/#backwards-incompatible-changes-in-1-2 -- You received this message because you are subscribed to the Google

Re: moving to django 1.2.1

2010-07-28 Thread Massimiliano Ravelli
On 28 Lug, 15:33, Maksymus007 wrote: > The same all the sentences link '1.1 and 1.2 are compatible'. > They are not. You are right: that page doesn't mention csrf changes. I upgraded few installations from 1.0 and from 1.1 to 1.2 and the only undocumented change I remember is exactly the csrf. I

Re: moving to django 1.2.1

2010-07-28 Thread knight
Does anybody knows a good post or blog about the changes including csrf? On Jul 28, 4:33 pm, Maksymus007 wrote: > On Wed, Jul 28, 2010 at 3:29 PM, Massimiliano Ravelli > > wrote: > > On Jul 28, 3:13 pm, knight wrote: > >> What are the minimal changes that I need to make in order to work with >

Re: moving to django 1.2.1

2010-07-28 Thread knight
Is anybody knows a good post or blog about these thing including csrf changes? On Jul 28, 4:33 pm, Maksymus007 wrote: > On Wed, Jul 28, 2010 at 3:29 PM, Massimiliano Ravelli > > wrote: > > On Jul 28, 3:13 pm, knight wrote: > >> What are the minimal changes that I need to make in order to work w

Re: moving to django 1.2.1

2010-07-28 Thread Maksymus007
On Wed, Jul 28, 2010 at 3:29 PM, Massimiliano Ravelli wrote: > On Jul 28, 3:13 pm, knight wrote: >> What are the minimal changes that I need to make in order to work with >> 1.2.1? > > Did you have a look at > http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges > ? This link in wort

Re: moving to django 1.2.1

2010-07-28 Thread Massimiliano Ravelli
On Jul 28, 3:13 pm, knight wrote: > What are the minimal changes that I need to make in order to work with > 1.2.1? Did you have a look at http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges ? -- You received this message because you are subscribed to the Google Groups "Django use

moving to django 1.2.1

2010-07-28 Thread knight
Hi, I have pretty big django app running on django 1.0.2 and I want to move it to django 1.2.1 since I want to use multiple databases. What are the minimal changes that I need to make in order to work with 1.2.1? I mean, what should I do regarding csrf and so on... Is there a good place to read ot