Re: Validate a form's excluded fields if a value is present

2010-04-02 Thread Boris Schaeling
On Thu, 01 Apr 2010 11:11:47 +0300, Russell Keith-Magee wrote: [...]I don't deny that it would be *really* nice to be able to automatically call full model validation on a model on form save - the problem is that we can't do that while retaining backwards compatibility. How about a setting

Re: Validate a form's excluded fields if a value is present

2010-04-02 Thread Russell Keith-Magee
On Sat, Apr 3, 2010 at 2:51 AM, orokusaki wrote: > On Apr 2, 2:00 am, Russell Keith-Magee wrote: > >> The broad goal is certainly reasonable and desirable. It's really a >> matter of finding a way to make it work that doesn't involve >> completely breaking (or disfiguring) the API that we already

Re: Validate a form's excluded fields if a value is present

2010-04-02 Thread orokusaki
On Apr 2, 2:00 am, Russell Keith-Magee wrote: > The broad goal is certainly reasonable and desirable. It's really a > matter of finding a way to make it work that doesn't involve > completely breaking (or disfiguring) the API that we already have. > > Yours, > Russ Magee %-) I've been working on

Re: GSoC Project: Enhancedaut.user

2010-04-02 Thread Russell Keith-Magee
On Fri, Apr 2, 2010 at 7:28 PM, Flo wrote: > > > On 1 Apr., 16:04, Russell Keith-Magee wrote: >> On Wed, Mar 31, 2010 at 10:15 PM, Flo wrote: >> >> > On Mar 31, 3:27 pm, Russell Keith-Magee >> > wrote: >> >> >> But under your proposal, you *can't* use your own permission model. If >> >> BaseUse

Re: GSoC Project: Enhancedaut.user

2010-04-02 Thread Flo
On 1 Apr., 16:04, Russell Keith-Magee wrote: > On Wed, Mar 31, 2010 at 10:15 PM, Flo wrote: > > > On Mar 31, 3:27 pm, Russell Keith-Magee > > wrote: > > >> But under your proposal, you *can't* use your own permission model. If > >> BaseUser inherits from BasePermissions, and every application

Re: [Repost][GSoC] Making django.db usable outside Django

2010-04-02 Thread Russell Keith-Magee
On Fri, Apr 2, 2010 at 1:40 AM, Yuvi Panda wrote: > I'm a CS student from India and am planning to apply for this year's > GSoC to work on Django. I've worked on several django based websites > ([1][2] + 1 yet to be released) and flirted around with other Python > Web Frameworks too (Tornado, web.

Re: Validate a form's excluded fields if a value is present

2010-04-02 Thread Russell Keith-Magee
On Fri, Apr 2, 2010 at 6:25 AM, orokusaki wrote: > Hey Russ, > > I'm not on the model.full_clean stuff anymore, and I apologize for > burning so many cycles on that point when you're in the middle of 1.2 > dev. I'm just wondering if what I proposed above sounds reasonable. > The form validation tu