mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed bug in postgresql backend that prevented the user of passwords with spaces in them.
Use pass *phrases*, folks, they're grrrrreat! git-svn-id: http://code.djangoproject.com/svn/django/trunk@1236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -24,7 +24,7 @@ class DatabaseWrapper: | ||||
|             if DATABASE_USER: | ||||
|                 conn_string = "user=%s %s" % (DATABASE_USER, conn_string) | ||||
|             if DATABASE_PASSWORD: | ||||
|                 conn_string += " password=%s" % DATABASE_PASSWORD | ||||
|                 conn_string += " password='%s'" % DATABASE_PASSWORD | ||||
|             if DATABASE_HOST: | ||||
|                 conn_string += " host=%s" % DATABASE_HOST | ||||
|             if DATABASE_PORT: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user