In TG 1.x you could use the following: turbogears.validators.IPhoneNumberValidator
This fails of you upgrade to the latest FormEncode version, since formencode.IPhoneNumberValidator has been moved to formencode.national.InternationalPhoneNumber. I think we should make the formencode.national validators available again under turbogears.validators. The question is, do we want to make them available on the top level of turbogears.validators, i.e. merge them with the other validators, or as turbogears.validators.national? Let me know what you think is better. I'll patch turbogears.validators then, and I will also make turbogears.validators.IPhoneNumberValidator available again (maybe with a deprecation message that tells you to use the new name, as you get when you import it directly from formencode). -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
