[web2py] Re: Auth registration adding a registration key with requires_approval disabled

2013-07-09 Thread Isaac Dontje Lindell
No one has any ideas? On Wednesday, June 26, 2013 11:16:11 AM UTC-5, Isaac Dontje Lindell wrote: > > I have this in my db.py model: > > ## configure auth policy > auth.settings.registration_requires_verification = False > auth.settings.registration_require

[web2py] Re: PG8000 QueryParameterParseError: '%:' not supported in quoted string

2013-07-01 Thread Isaac Dontje Lindell
orrect'. I'd still love to know why my original approach didn't work, however. On Monday, July 1, 2013 10:04:19 AM UTC-5, Isaac Dontje Lindell wrote: > > I'm trying to run this query using db.executesql(). I'm doing the string > substitution (with the variable 

[web2py] PG8000 QueryParameterParseError: '%:' not supported in quoted string

2013-07-01 Thread Isaac Dontje Lindell
I'm trying to run this query using db.executesql(). I'm doing the string substitution (with the variable 'sid') before passing the query to executesql(), although I've also tried just passing the tuple (sid, sid) as the 'placeholders=' param to executesql, with the same results. I can run this

[web2py] Re: Auth registration adding a registration key with requires_approval disabled

2013-06-27 Thread Isaac Dontje Lindell
in.) What exactly do I need to do to pre-populate a value in this registration form? * I did exactly this to pre-populate some values in the user "profile" form and it worked perfectly. On Thursday, June 27, 2013 8:43:32 AM UTC-5, Isaac Dontje Lindell wrote: > > def user(): >

[web2py] Re: Auth registration adding a registration key with requires_approval disabled

2013-06-27 Thread Isaac Dontje Lindell
lem with my code, I'm just not sure what exactly. What I'm trying to do in most of these cases is prepopulate one of the fields in the auth form (specifically the course_id field). On Thursday, June 27, 2013 8:21:41 AM UTC-5, Isaac Dontje Lindell wrote: > > Sorry, should have specifi

[web2py] Re: Auth registration adding a registration key with requires_approval disabled

2013-06-27 Thread Isaac Dontje Lindell
Sorry, should have specified. Version 2.4.6-stable On Thursday, June 27, 2013 1:31:14 AM UTC-5, Massimo Di Pierro wrote: > > Which web2py version? > > On Wednesday, 26 June 2013 11:16:11 UTC-5, Isaac Dontje Lindell wrote: >> >> I have this in my db.py model: >&g

[web2py] Auth registration adding a registration key with requires_approval disabled

2013-06-26 Thread Isaac Dontje Lindell
I have this in my db.py model: ## configure auth policy auth.settings.registration_requires_verification = False auth.settings.registration_requires_approval = False auth.settings.reset_password_requires_verification = True If I register for the application (at %app%/default/user/register), it go