On 12/15/06, Honza Král <[EMAIL PROTECTED]> wrote: > > Why not just have a CharField and a USState validator and an IPaddress4 > > validator. That way you have a USState validator to apply to other > > fields as well. > > but you *can* do that now, the only difference between what is now and > what you are proposing is that you call validators, what are now > Fields and you would call it > CharField( validators=[USState, IsAllUpperCase] ) > where you can now write > ComboField( CharField, USStateField, IsAllUpperCaseField )
Exactly. Gary, I think maybe you're missing the subtleties of how Fields work, which I can't fault you for, as I haven't written most of the documentation for this stuff yet. :) Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---