db.auth_user.insert(**db.auth_user._filter_fields(form.vars))
That will filter out the fields that don't belong to the table.
Anthony
On Tuesday, June 26, 2012 8:12:39 AM UTC-4, Don_X wrote:
>
> Thank you Bruno ....I believe it would of work but ... I get an error ...
>
> <type 'exceptions.SyntaxError'> Field email_check does not belong to the
> table
>
> I think it is because I check the email entered in the SQLFORM.factory
> form and the field e-mail_check does not exist in the table ....
> it is just a verification scheme !
> is there a way for me to do the same thing ( updating the database ) ...
> without that specific field and without doing it line by line ? ...
>
> and please tell me .. does the timestamp field in the auth_user table get
> updated automatically ...
>
> thanks
>
> Don
>
> On Monday, 25 June 2012 23:17:23 UTC-4, rochacbruno wrote:
>>
>> if form.process().accepted:
>>
>> db.auth_user.insert(**form.vars)
>>
>> response.flash = T('Quick Sign-up Accepted ! - Check your e-mail
>> !')
>>
>>
>
--