[web2py] Uploading of file is not working.

2014-10-31 Thread Nurendra Choudhary
Hi, My db.py is: Field ('Research_Statement','upload'), Field ('Teaching_Statement','upload'), Field ('Relevant_

[web2py] IS_EMPTY_OR not working for file upload

2014-10-24 Thread Nurendra Choudhary
I gave this validator. requires=(IS_EMPTY_OR(IS_UPLOAD_FILENAME(extension='pdf'))) But when I submit the form I still get the error Enter a valid file name. Please help me. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code)

[web2py] Regarding the defect with two auths in one app.

2014-10-13 Thread Nurendra Choudhary
Hi, I made two auths "auth" and "fileauth" for my app. Now I have a problem with auth.is_logged_in() and fileauth.is_logged_in(). They both return True even if only one of them is logged in. Can you please find a solution? Regards, Nurendra Choudhary -- Resources: - http

[web2py] Re: Add Fields to tables using loops

2014-10-06 Thread Nurendra Choudhary
A calendar with flag for each user -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Grou

[web2py] Asynchronous tasks

2014-10-06 Thread Nurendra Choudhary
Hi, I wanted to check for something at regular interval of a day or so. How can i do it. for example, everyday i want to check if(date==datetime(12,3,2014)) Thanks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - http

[web2py] Add Fields to tables using loops

2014-10-04 Thread Nurendra Choudhary
Hi, Firstly, thanks for such a great framework. I wanted to know how to add fields to tables using loops. I require a table with all dates of a year as Fields. Please help me... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py