Re: Adding 'smaller than' and 'bigger than' to Int validator

Jorge Godoy <[email protected]>
Newsgroups gmane.comp.python.formencode
Organization G2C Tech Consultoria Ltda.
Message-ID <[email protected]>
Ian Bicking <[email protected]> writes:

> Jorge Godoy wrote:
>> Hi!
>> 
>> 
>> I'd like to propose the following patch to the Int() validator so that we can
>> add limits to values passed in:
>
> Sure; but I think it's called "min" and "max" in other validators.

Oops! :-)  Yes, you're right.  I just needed something to test a concept and
it wasn't available so I just translated from pt_BR straight into en_US :-) 

> Hmm... and maybe we can get the branches merged before we get more 
> divergence.  BTW, have you tried the internationalized branch?

I couldn't try it yet.  I'm late with two projects and I'm putting them on
schedule.

I might try it this weekend (we have a holiday on Thursday and I'll be "free"
until Sunday -- I can take a break with my masters to test this). 

-- 
Jorge Godoy      <[email protected]>


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.