Groups
Groups
Sign in
Groups
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
how to use a specific driver for the database
35 views
dal
development
Skip to first unread message
Lars
unread,
Aug 30, 2017, 11:16:32 AM
8/30/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Hi,
How can we use for example : psycopg2 instead of pg8000 which is default ?
Thanks
Anthony
unread,
Aug 30, 2017, 11:49:17 AM
8/30/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
If psycopg2 is installed, then it will be used by default.
In any case, you can be explicit via the connection string:
'postgres:psycopg2://...'
Anthony
Lars
unread,
Aug 30, 2017, 12:01:09 PM
8/30/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Hi Anthony,
psycopg2 was installed but (don't know if related) I use the last web2py on python3.5 and it didn't find it.
It should now.
Thank you ;)
Reply all
Reply to author
Forward
0 new messages