Re: Model-validation: call for discussions

2009-01-24 Thread mrts
After several discussions with Honza, we are still on somewhat different positions what the validator function signature should be and how core validators should access the fields of a form or a model instance. In core validators, no special case handling of forms and models is needed even in mul

Re: old sqlite versions

2009-01-24 Thread Karen Tracey
On Sat, Jan 24, 2009 at 1:16 PM, koenb wrote: > > In ticket #10113 I signalled two problems. The first was almost > immediately fixed by Russel (thanks!). For the second problem I added > a specific testcase that was giving me wrong results. It concerns an > annotated query with ordering on a for

Re: Flatpage signal?

2009-01-24 Thread Adrian Holovaty
On Fri, Jan 23, 2009 at 6:16 PM, Jeremy Dunck wrote: > I'd like to do some processing any time a flatpage is requested. > > I can accomplish this by using a view middleware and testing for the > resolved view, but it seems a like a signal would be useful so I could > have a reference to the flatp

old sqlite versions

2009-01-24 Thread koenb
In ticket #10113 I signalled two problems. The first was almost immediately fixed by Russel (thanks!). For the second problem I added a specific testcase that was giving me wrong results. It concerns an annotated query with ordering on a foreign key that was not yet included in the query. Russel r

Re: django-smtpd allows you to handle email messages just like Django processes HTTP requests.

2009-01-24 Thread nside
Sorry about that. Do you think such a library, once stable, could make it to the trunk? Regards, Denis On Jan 23, 10:51 pm, Malcolm Tredinnick wrote: > On Fri, 2009-01-23 at 15:08 -0800, nside wrote: > > Hello, > > > I just started a new project that basically allows you to write email > > hand

Re: ManyToManyField in both models/forms

2009-01-24 Thread Evgeniy Ivanov
Oops, sorry. I meant form's meta. Something like this: class GroupForm(ModelForm): class Meta: model = Group m2m_model = User Looks like more logical thing, than I suggested at the beginning. On Jan 24, 6:53 am, Malcolm Tredinnick wrote: > On Fri, 2009-01-23 at 00:12 -0800,