[web2py:26966] Forms and dates

2009-07-20 Thread vneve
Hello, I have a form that is something like this: form = form_factory( SQLField('init', 'date',), SQLField('end', 'date'), ) The problem is, I don't want to insert those fields into the equivalent db table unless 'init' < 'end'. I'm aware I could do this: if form.accept

[web2py:32277] help on sending email on gae

2009-10-05 Thread vneve
I can send mails when running on localhost, but could not get this working after deploying to gae. I'm using this from the default db.py: mail.settings.server='smtp.gmail.com:587'# your SMTP server mail.settings.sender = 'em...@gmail.com' # your email mail.settings.logi n= 'email:**'