Django

Code

Changeset 1236

Show
Ignore:
Timestamp:
11/14/05 23:52:25 (3 years ago)
Author:
jacob
Message:

Fixed bug in postgresql backend that prevented the user of passwords with spaces in them.
Use pass *phrases*, folks, they're grrrrreat!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/db/backends/postgresql.py

    r1224 r1236  
    2525                conn_string = "user=%s %s" % (DATABASE_USER, conn_string) 
    2626            if DATABASE_PASSWORD: 
    27                 conn_string += " password=%s" % DATABASE_PASSWORD 
     27                conn_string += " password='%s'" % DATABASE_PASSWORD 
    2828            if DATABASE_HOST: 
    2929                conn_string += " host=%s" % DATABASE_HOST