Re: Porting Django to Python 3

2010-01-12 Thread Tobias McNulty
I am by no means an expert on the matter, but I remember seeing a comment awhile back suggesting that it generally makes more sense to fix the 2to3 script than to maintain two branches of the same library. Might that be the case here as well? Sent from a mobile phone, please excuse any typos. On

Re: Porting Django to Python 3

2010-01-12 Thread Alex Gaynor
On Tue, Jan 12, 2010 at 10:52 PM, Joshua Partogi wrote: > On Jan 9, 1:02 pm, Russell Keith-Magee wrote: >> On Sat, Jan 9, 2010 at 2:25 AM, Dave wrote: >> > Hello everyone, >> >> > My name is Dave Weber, and I'm a student at the University of Toronto, >> > studying Computer Science. For one of ou

Re: Porting Django to Python 3

2010-01-12 Thread Joshua Partogi
On Jan 9, 1:02 pm, Russell Keith-Magee wrote: > On Sat, Jan 9, 2010 at 2:25 AM, Dave wrote: > > Hello everyone, > > > My name is Dave Weber, and I'm a student at the University of Toronto, > > studying Computer Science. For one of our undergraduate courses led by > > Greg Wilson (http://www.cs.ut

Re: Feedback on ticket 7777

2010-01-12 Thread Russell Keith-Magee
On Tue, Jan 12, 2010 at 11:17 PM, thebitguru wrote: > Oh, I thought someone else might also have to agree, but anyways, I > see (http://code.djangoproject.com/wiki/Version1.2Roadmap) that the > complete feature freeze is January 26 so I will check again on > February 11 :) > > I changed the versio

Re: Feedback on ticket 7777

2010-01-12 Thread thebitguru
Oh, I thought someone else might also have to agree, but anyways, I see (http://code.djangoproject.com/wiki/Version1.2Roadmap) that the complete feature freeze is January 26 so I will check again on February 11 :) I changed the version to 1.2alpha. Thanks, Farhan On Jan 12, 4:50 am, Russell Keit

Re: please help me about enum attribute..

2010-01-12 Thread Chuck Harmston
As Gert said, these are questions that should be asked on django-users [1]; this list is for discussion about the development of Django, not development with Django. That said, there are detailed instructions in the docs [2] for using multiple databases. This support was rolled out recently (since

Re: please help me about enum attribute..

2010-01-12 Thread chiranjeevi muttoju
hello girt thank for ur reply. i have another problem, could u please help me.. i want to use the multiple database in django.. i fallowed somany procedures.. but i cont able to get how to use.. could u please tell me in detailed the process for multiple databases in django.. with sample settings

Re: please help me about enum attribute..

2010-01-12 Thread Gert Van Gool
You should use instance.get_gender_display(). See http://www.djangoproject.com/documentation/models/choices/ for more information... I do believe this is more a question for django-users. -- Gert Mobile: +32 498725202 Web: http://gert.selentic.net On Tue, Jan 12, 2010 at 12:38, 'chiru'tha wrot

please help me about enum attribute..

2010-01-12 Thread 'chiru'tha
Hi every one.. i got a problem.. please help me.. I create a class for my model, in that class i declare an property gender and i make it as enum.. it stores M or F only to the database. the sample code is shown bellow.. GENDER_CHOICES = ( (u'M', u'Male'), (u'F', u'Female'),

Re: Feedback on ticket 7777

2010-01-12 Thread Russell Keith-Magee
On Tue, Jan 12, 2010 at 12:05 PM, thebitguru wrote: > Can we please get a final decision on this please? I was under the impression I *had* given a final decision - we should reject Inf and NaN as invalid values. The ticket hasn't been closed because we're not focussing on bug fixes at the momen

Re: Model validation incompatibility with existing Django idioms

2010-01-12 Thread Raffaele Salmaso
Joseph Kocherhans wrote: > regressions? http://code.djangoproject.com/ticket/12577 -- ()_() | That said, I didn't actually _test_ my patch. | + (o.o) | That's what users are for! | +---+ 'm m' | (Linus Torvalds) | O | (___) |