[GSoC] model validation - status update

2009-06-06 Thread Honza Král
Hi everybody, I was productive right after I sent the last update but then I got stuck on the validators. I did, however created a few test validators and tests for those (expect the number of django tests to go up thanks to this since I generate them semiautomatically :) ). What I did this week

Re: [GSoC] model validation - update

2009-06-01 Thread Tim Chase
Honza, Thanks for all your work on this -- model-validation is something I missed when it was removed (well, moved to forms), so you have one of my favorite GSoC projects. > Questions for the community: > - > I have been toying with the idea of abstract validating objec

[GSoC] model validation - update

2009-05-31 Thread Honza Král
Hello everybody, I have been quite productive this weekend so I finally have some code to show. I have been leveraging the hell out of git cherry-pick, git rebase -i and various other questionable dark magic ([0]) to get my previous work in some shape and create a nice set of commits which I was

[GSoC] model validation - update

2009-05-17 Thread Honza Král
Hi all, I didn't get much work done as I was waiting for feedback for questions I posted in last week's status. I didn't get many replies (big thanks to all that sent theirs) and it appears that the common use case would justify going for the most powerfull interface: def validator(value, all_val

[GSoC] model validation

2009-05-12 Thread Honza Král
Hi, last week I was busy during EuroDjangoCon, so I am afraid there was close to no progress on actual work. I did however give a talk on the topic (see slides at [0]) and got into a few interesting discussions. As a result of the latter I would like to reopen one design decision that was made dur

Re: GSOC - model validation

2009-04-24 Thread Honza Král
And as first status update I give you the original proposal that got accepted by the good folks at GSOC: I would like to add hooks for validation on models and model fields so that users could define their validation logic there. This will include simple value validation (is_integer, is_email),

GSOC - model validation

2009-04-24 Thread Honza Král
Hi everybody, I have the pleasure of working on model validation (#6845) as my GSOC project mentored by Joseph Kocherhans. I am very happy that I got the opportunity to work on such an important part of Django as my GSOC project. I have already done some work on django and on the topic itself (s