[web2py] Re: web2py DAL tables reference values not shown as drop downs

2013-10-24 Thread ranjith
Can that be done?? On Wednesday, 23 October 2013 22:29:50 UTC+5:30, ranjith wrote: Oh good. Thanks for the response. I added the format and it worked. But, here I have one problem. In the table(subject_class) I am only having a combination of two foreign keys and no other columns. So

[web2py] web2py DAL tables reference values not shown as drop downs

2013-10-23 Thread ranjith
Hi, I have defined some tables as below, db.define_table('subject_class', Field('class_id', 'reference class_tbl'), Field('subject_id', 'reference subject_bs') ) db.define_table('subjectgroup_tbl', Field('class_id', 'reference class_tbl'), Field('subgroup_name', 'string')

[web2py] Re: web2py DAL tables reference values not shown as drop downs

2013-10-23 Thread ranjith
' representation. On Wednesday, 23 October 2013 02:45:15 UTC-5, ranjith wrote: Hi, I have defined some tables as below, db.define_table('subject_class', Field('class_id', 'reference class_tbl'), Field('subject_id', 'reference subject_bs') ) db.define_table('subjectgroup_tbl', Field

Re: [web2py] Re: web2py scheduler not working

2013-10-23 Thread ranjith
Is that not possible? On Wednesday, 23 October 2013 11:13:53 UTC+5:30, ranjith wrote: Thanks for the response. Other than the below script, it was mentioned in the document that scheduler workers can be started via cron@reboot The scheduler does not use cron, although one can use cron

[web2py] web2py scheduler not working

2013-10-22 Thread ranjith
Hi, I have a model file called scheduler.py which has from gluon.scheduler import Scheduler def messageTask(): mail.send(to=['ranjith2...@gmail.com'],subject='hello', message='hi there') return scheduler = Scheduler(db,tasks=dict(messageTask=messageTask)) I added an entry in

[web2py] Re: web2py scheduler not working

2013-10-22 Thread ranjith
I tried changing the worker table status to active/pick and others. It didnt work On Tuesday, 22 October 2013 23:53:24 UTC+5:30, ranjith wrote: Hi, I have a model file called scheduler.py which has from gluon.scheduler import Scheduler def messageTask(): mail.send(to=['ranjith2

Re: [web2py] Re: web2py scheduler not working

2013-10-22 Thread ranjith
Detailed explanation here: http://web2py.com/books/default/chapter/29/04/the-core#Scheduler Marin On Tue, Oct 22, 2013 at 8:25 PM, ranjith ranji...@gmail.com javascript: wrote: I tried changing the worker table status to active/pick and others. It didnt work

Re: [web2py] Re: Calling a function while adding an entry to auth_user table

2013-10-18 Thread ranjith
Is there a way to do it? On Thursday, 17 October 2013 23:08:25 UTC+5:30, ranjith wrote: I just need to insert some records into a table when that table is created. I dont know how to do it. Please help!!! On Thursday, 17 October 2013 12:26:11 UTC+5:30, ranjith wrote: Thanks

Re: [web2py] Re: Calling a function while adding an entry to auth_user table

2013-10-17 Thread ranjith
to do it automatically, so that once the table is created, those entries should be inserted into that table. Is there a way to achieve this? On Thursday, 17 October 2013 10:51:36 UTC+5:30, ranjith wrote: Thanks for the reply. On Thu, Oct 17, 2013 at 5:15 AM, 黄祥 steve.van.chris...@gmail.com

Re: [web2py] Re: Calling a function while adding an entry to auth_user table

2013-10-17 Thread ranjith
I just need to insert some records into a table when that table is created. I dont know how to do it. Please help!!! On Thursday, 17 October 2013 12:26:11 UTC+5:30, ranjith wrote: Thanks for the information. I hope so now I can proceed with that. Also, is there any callbacks for the table

[web2py] Calling a function while adding an entry to auth_user table

2013-10-16 Thread ranjith
Hi, I want to add a membership to a user when a new user is added to the auth_user table. It is possible when the user registers via the front end through the callback auth.settings.register_onaccept. But in my case, I am adding the bulk entries to the auth_user table using the script. So,

[web2py] Re: check_client=True

2013-09-11 Thread Ranjith
Niphlod niphlod@... writes: can I see how you are using check_client in your code, please ?On Wednesday, July 31, 2013 1:59:02 PM UTC+2, Vikas Gupta wrote: I need to disable the user from logging in multiple times from different machines... If he is logged in on one machine with ip A, and

[web2py] Re: check_client=True

2013-09-10 Thread ranjith
Hi Vikas, Are you able to disable multiple logins for a user in web2py. Could you please share the information. I too wanna know that On Wednesday, 31 July 2013 17:29:02 UTC+5:30, Vikas Gupta wrote: I need to disable the user from logging in multiple times from different machines... If he

[web2py] Re: web2py on GoDaddy shared hosting

2013-09-09 Thread ranjith
If web2py installation in GoDaddy shared server is not possible, let me know any of the good servers(cheap). My user base is in Tamil Nadu,India On Friday, 23 August 2013 12:58:56 UTC+5:30, ranjith wrote: Hi, I am new to web2py. I have a shared hosting account in Godaddy. Will I be able

[web2py] Defining one extra auth table

2013-09-09 Thread ranjith
Hi, I want to define one extra auth table. Could you pls explain me how to do that? Currently the auth class has user, role,group and permission tables. I want to develop a web application related to colleges. So, I want to define one more extra table which contain the colleges and the users

Re: [web2py] production site hosting

2013-08-23 Thread ranjith
Yes. I too have the confusion here. None of the webfraction servers in India. My target users are in India(Mainly Tamil Nadu). Even is it good to go towards WebFraction? On Tuesday, 20 December 2011 20:29:00 UTC+5:30, Chandrakant Kumar wrote: I prefer shared hosts over VPS. My only concern

[web2py] web2py on GoDaddy shared hosting

2013-08-23 Thread ranjith
Hi, I am new to web2py. I have a shared hosting account in Godaddy. Will I be able to deploy my web2py app in GoDaddy?? -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send