On 12/18/06, Gary Wilson <[EMAIL PROTECTED]> wrote: > > Honza Král wrote: > > On 12/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > Feel free to take > > > on any of the items mentioned in this e-mail, as long as we've all > > > agreed on the right way to solve the problems. Rewriting the > > > validators to Fields would be a much-welcomed contribution, too. > > > Whatever you choose, let us know so that we don't duplicate work. > > > > see new_fields.py for validators transformed into Fields. It is a > > result of a few sed expressions (see gen_new_fields.sh ) and some > > manual tweaks. I haven't tested it even for syntax errors, any help > > would be welcome, especially tests and documentation (I suck at > > these)... > > > > I will continue working on those whenever I have some time (and mood ;) ) > > If inheriting Fields is going to be the new validator_list, don't we > need to add some super() calls in those clean() methods? >
there are - every clean() starts with value = ParentField.clean( value ) which should represent a super call > > > > -- Honza Král E-Mail: [EMAIL PROTECTED] ICQ#: 107471613 Phone: +420 606 678585 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
