Todd O'Bryan wrote:
> I've actually been thinking about this, recently. How would people feel
> about a Field type that took a regex to validate input against.
>
> Or, to be even more wacky, how about providing callables that would
> validate the input and normalize it? Something like
>
> def __init__(self, validator=lambda x: true, normalizer=lambda x: x):
>
> So, by default, it doesn't validate or normalize, but you can provide a
> function for each.
>
> Or am I being overly complicated?
Thanks Todd. I believe that is a good starting point.

I've been busy with the configuration of the web and SVN to put the
project in an independent site. I hope that tomorrow or the friday is
ready.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to