[web2py] Adding multiple records in single table

2017-09-06 Thread Shazia Nusrat
I have an application "Survey" for students where I need to update multiple records against single table "Questions". These question features may vary for each record as some would be multiple choices/radio/checkbox etc. Following are my tables: db.define_table('survey_question', F

[web2py] Google Survey

2017-08-28 Thread Shazia Nusrat
Hi, Is there any web reference for web2py application like google survey? Appreciate if someone can refer me to repo or web reference. I need to fully design we2py Survey application just like google where users should be able to create surveys and also take surveys. Regards, Shazia -- Resourc

Re: [web2py] 'gluon.contrib.pg8000.ProgrammingError'> ('ERROR', '42P07', 'relation “auth_user” already exists'

2017-08-11 Thread Shazia Nusrat
So to use psycopg2 I just need to install postgres and use adaptor like: db = DAL('postgres://storage', pool_size=1, check_reserved=['all'], migrate=False) If I create a db with the user and db name with "storage" would it work like this? Please advise because this is the first time I will be do