then everything is fine.

> Now get the ticket:
> TypeError: 'IS_ALPHANUMERIC' object is not iterable

I think this is because should have been

db.table.field.requires=IS_NULL_OR(IS_ALPHANUMERIC()) ## () was
missing

On Jan 4, 10:32 am, Fran <[email protected]> wrote:
> On Jan 4, 4:02 pm, mdipierro <[email protected]> wrote:
>
> > The ticket issues is definitively a bug introduced in trying to parse
> > ipv6 addresses. I reposted a fix in trunk. Please try reproduce the
> > same errors and see if you can see the tickets. let me know.
>
> Yes, of course ;)
> Now get the ticket:
> TypeError: 'IS_ALPHANUMERIC' object is not iterable
>
> > if db.table.field is an integer, by defaul, it requires an int value.
> >     db.table.field.requires=IS_NULL_OR(IS_ALPHANUMERIC)
> > causes the ticket because it is incompatible with the field being an
> > integer.
> > You can do
> >     db.table.field.requires=IS_NULL_OR(IS_INT_IN_RANGE(-100,100))
> > I think this is what you want.
>
> Bingo - dumb me ;)
>
> Many thanks for your patience,
> F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to