Ticket #10063: django_psql_pass_fix.patch
File django_psql_pass_fix.patch, 585 bytes (added by , 16 years ago) |
---|
-
/usr/share/python-support/python-django/django/db/backends/postgresql/client.py
old new 9 9 args = [self.executable_name] 10 10 if settings.DATABASE_USER: 11 11 args += ["-U", settings.DATABASE_USER] 12 if settings.DATABASE_PASSWORD:13 args += ["-W"]14 12 if settings.DATABASE_HOST: 15 13 args.extend(["-h", settings.DATABASE_HOST]) 16 14 if settings.DATABASE_PORT: