Iain Duncan wrote:
> Hi folks, I'm setting up an older project on newer packages, and noticed
> that with the new releases of toscawidgets and formencode there is no
> longer a
>
> tw.forms.validator.PhoneNumber
>
> Can anyone tell me what the recommended procedure is now? Do I import
> from formencode itself?
>   

IIRC, formencode moved this and other locale specific validators to a 
different module inside FE in the latest version. For backwards 
compatibility it left functions delegating to the real validators in the 
original namespace but the code in tw.forms.validators which builds the 
__all__ list doesn't pick them up (since they're not validator 
instances). So I think you're better off importing it directly from FE now.

Alberto

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ToscaWidgets-discuss" 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/toscawidgets-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to