[web2py] Re: ekjaa

2011-07-03 Thread Mohit
contact me at mohit.gu...@ekjaa.org for any queries/feedback. Regards Mohit On Jun 23, 9:46 pm, Anthony wrote: > On Thursday, June 23, 2011 12:38:29 PM UTC-4, mikech wrote: > > > Is this a web2py site? > > Yes, you can tell if you look at the meta tags in the html head. The ht

[web2py] Create SQLFORM having one submit button for 2 distinct tables

2016-05-22 Thread Mohit Jain
s.insert(activity='Application Period Set : '+str(form. vars.start)+' to '+str(form.vars.end)) if form.vars.nomTime: #To check if nomination-fields have been updated response.flash = 'Nomination Period Set : '+str(form.vars.start)+' to '+str(form.vars.end)

[web2py] Re: Create SQLFORM having one submit button for 2 distinct tables

2016-05-23 Thread Mohit Jain
nom_msg_flash = 'Nomination Period Set : '+str(form.vars.nomStart)+' to '+str(form.vars.nomEnd) elif form.vars.nomEnd: session.flash = 'Nomination Period Start-Time not specified!' redirect(URL('overall_admin','set_dea

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-05-28 Thread Mohit Jain
<http://localhost:8001/taportaltest/appadmin/update/db/scheduler_task/2> COMPLETED 2016-05-28 16:19:55 2016-05-28 16:19:56 "inserted" None But the database (db.UserLogs) is not being updated :/ What am I missing here? Do I need to specifically import the database classes into

[web2py] Using Scheduler to delete database rows older than a timestamp

2016-03-03 Thread Mohit Jain
field is older than 24hours from the current time. I know using the Scheduler is probably the correct way to go about it but I'm unable to figure out the exact code to be written (the documentation has too many options and hence a bit confusing). Looking for code samples! :) Regards,