On Nov 24, 3:40 am, mdipierro <[EMAIL PROTECTED]> wrote:
> db.t2_person.exposes=['name','email','password'] ## add the fields you
> need.

What is the difference between exposes=[] and SQLFORM(fields=[]), btw?

>
> On Nov 23, 6:22 pm, Oscar <[EMAIL PROTECTED]> wrote:
>
> > Which is the best way of hide registration key field?
>
> > Thank you!
>
> > Oscar.
>
> > On 24 nov, 11:34, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > > Now I understand. You found a bug in t2! Thank you.
>
> > > The string length defaults to 32. A uuid is longer so those fields
> > > should have a length of 64.
> > > Works on sqlite because sqlite ignores length.
>
> > > You should not make the ristration key editable/visible in forms. it
> > > is used for email verification of registrants.
>
> > > I will fix this in trunk today.
>
> > > Massimo
>
> > > On Nov 23, 10:25 am, Oscar <[EMAIL PROTECTED]> wrote:
>
> > > > Ok,
>
> > > > Sorry, some times my english isn't uderstandable.
>
> > > > I explain again: I have a T2 project with t2_person table extended
> > > > with some fields, so this tables come by default with a field named
> > > > registration key, when I try to add a new record with this field not
> > > > exposed nor displayed the app returns an error, something about error
> > > > on function. If y expose and display the registration key field and I
> > > > try again to add a record the form returns an flash error about string
> > > > too long.
>
> > > > How long can be an string field? I don't understand because an UUID
> > > > key isn't so long.
>
> > > > Thanks in advance,
>
> > > > Oscar.
>
> > > > On 24 nov, 10:28, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > > > > sorry. I do not understand the problem. Could you give us more
> > > > > details.
>
> > > > > Massimo
>
> > > > > On Nov 22, 11:05 pm, Oscar <[EMAIL PROTECTED]> wrote:
>
> > > > > > Hi,
>
> > > > > > I getting an error about registration at T2_Person table, validation
> > > > > > says that string is so long ¿? I don't know why I'm getting this 
> > > > > > issue
> > > > > > because this field is included out of the box in user table.
>
> > > > > > In the other hand How I can localize all form items, I mean, submit
> > > > > > buttons and T2 messages?
>
> > > > > > Best Regards,
>
> > > > > > Oscar.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
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