[web2py] User login with user id

2014-04-26 Thread Josyula Krishna
Hi, I'm trying to integrate my app with facebook, i didn't quite understand all the content on the internet, Here's what i'm trying to do, i authenticate the user from facebook, i get his information. I'm using this info to find if he exists in the auth_user database. If he does, i have his aut

Re: [web2py] Re: Skip fields in registration

2014-04-24 Thread Josyula Krishna
form=auth()) > > Anthony > > > On Thursday, April 24, 2014 10:46:59 AM UTC-4, Josyula Krishna wrote: > >> Hi, I'm new to web2py, I'm trying to build an authentication system where >> the user can skip his email, fi

[web2py] Skip fields in registration

2014-04-24 Thread Josyula Krishna
Hi, I'm new to web2py, I'm trying to build an authentication system where the user can skip his email, firstname, lastname, How can i do this other than creating a custom table for authentication? I did try auth.settings.registration_requires_email = False auth.define_tables(username=True,

[web2py] Insert into database by list.

2013-09-10 Thread Josyula Krishna
This is my table db.define_table('user_interests', Field('user_id',db.auth_user),Field('Science','boolean'),Field("Arts",'boolean'),Field("BusinessEconomy",'boolean'),Field("ComputersTechnology",'boolean')) and a list which has boolean values in it each corresponding to the value of the field