I answered your ticket for this, including some methods that you can
specify custom arguments for connect(). check it out and see if it
solves your issue.
On Aug 3, 2006, at 4:59 PM, Randall Smith wrote:
> psycopg2 takes an sslmode argument. Does the connection string
> support
> an ssl o
I don't think this is supported yet. I'd suggest creating a ticket.On 8/3/06, Randall Smith <[EMAIL PROTECTED]> wrote:
psycopg2 takes an sslmode argument. Does the connection string supportan ssl option? If not, how may the option be set for the engine?
Randall---
Ok, found it, I had to add an .decode('utf-8') ... :
user = self.params.get('user')
password = self.params.get('password')
if user and password:
password = md5(password.decode('utf-8').hexdigest()
condition = and_(User.c.login==user.decode('utf-8'),
User.c.password==password)
try:
3 matches
Mail list logo