Thanks, Massimo.
Does that mean, if I want to include e-mail in registration
information,  I must use e-mail verifying function?

Calvin

On 11月24日, 下午10时18分, mdipierro <[EMAIL PROTECTED]> wrote:
> t2 must also have a field SQLField('registration_key',length=64)
>
> Massimo
>
> On Nov 24, 2:52 am, minglee <[EMAIL PROTECTED]> wrote:
>
> > In db.py:
> > db.define_table('t2_person',
> >                         SQLField('name',requires=IS_NOT_EMPTY()),
> >                         SQLField('password','password',requires=CRYPT
> > ()),
> >                         SQLField('email',requires=IS_EMAIL()))
> > I put controllers in member.py:
> > def register():
> >     return dict(form=t2.register())
> > And I got errors:
> > Traceback (most recent call last):
> >   File "gluon\restricted.pyc", line 62, in restricted
> >   File "D:\web2py\applications\myvol/controllers/member.py", line 42,
> > in <module>
> >   File "gluon\globals.pyc", line 55, in <lambda>
> >   File "D:\web2py\applications\myvol/controllers/member.py", line 9,
> > in register
> >   File "D:\web2py\applications\plugin_t2\modules\t2.py", line 788, in
> > register
> >   File "D:\web2py\applications\plugin_t2\modules\t2.py", line 378, in
> > create
> >   File "gluon\sqlhtml.pyc", line 235, in accepts
> >   File "gluon\sql.pyc", line 829, in insert
> >   File "gluon\sql.pyc", line 809, in _insert
> > SyntaxError: invalid field name
>
> > Any budy can help me? Thanks!
--~--~---------~--~----~------------~-------~--~----~
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