[web2py] Cannot set string field to None

2012-12-13 Thread Florian Letsch
I have a few additional fields set on my db_auth table, mainly in order to implement a simple invite system: auth.settings.extra_fields['auth_user']= [ Field('invite_sent', 'datetime', default=None), # None for activated users Field('invite_key')] When the invite has been accepted, I want

[web2py] Manually setting email for auth registration form

2012-11-15 Thread Florian Letsch
I have some custom requirements for registration, but I still want to use auth.register() with a custom form view to rely on web2py's form validation. Background: I have a table of allowed email addresses with a generated secret hash. (kind of like an invitation only registration). When you acc

[web2py] Re: Sending email from background queue

2012-08-13 Thread Florian Letsch
wrote: > > How are emails added to the database -- does that happen within the > application, or also in a script? > > On Saturday, August 11, 2012 12:55:40 AM UTC-4, Florian Letsch wrote: >> >> *My first post somehow didn't make it to the group, I don't know whe

[web2py] Re: Sending emails with background queue problem

2012-08-13 Thread Florian Letsch
ntroller function adds a confirmation email to the queue) [0] https://groups.google.com/forum/?fromgroups#!topic/web2py/YT2jDMea6lU On Sunday, 12 August 2012 07:17:39 UTC+12, Massimo Di Pierro wrote: > > Are you using mysql? > > On Friday, 10 August 2012 23:11:03 UTC-5, Florian Letsch wr

[web2py] Sending email from background queue

2012-08-11 Thread Florian Letsch
*My first post somehow didn't make it to the group, I don't know where it got lost. Sorry if I submit this twice, I have never participated in a news group before.* I am trying to set up a background queue for sending email as described in the web2py book. http://web2py.com/books/default/chap

[web2py] Sending emails with background queue problem

2012-08-11 Thread Florian Letsch
I want to send emails using a background queue as described in the web2py book: http://web2py.com/books/default/chapter/29/8#Sending-messages-using-a-background-task However, the queue only sends emails that have been in the database when I start the script. Database entries added lateron don't