AzMoo
unread,May 19, 2009, 10:43:14 AM5/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django developers
Hello everybody,
I just came across an issue with django's implementation of psycopg2,
in that as of Changeset 9981 it will no longer accept passwords with
spaces in them.
In this changeset the use of a DSN was removed in favour of named
arguments, and as the password is no longer quoted, psycopg2 is
rejecting it.
This is ultimately a problem with psycopg2 as oppose to django,
however I feel that it would be valuable to work around the problem by
changing back to the use of a DSN like it was originally, and keep the
support for DATABASE_OPTIONS by joining the dictionary into a
key=value string and appending it to the DSN.
What are your thoughts on this?
Cheers,
Matt Magin