From 422aadfe2aea988927888b970fcce4e8ce492fac Mon Sep 17 00:00:00 2001 From: Jason Pellerin Date: Fri, 21 Jul 2006 18:15:02 +0000 Subject: [multi-db] Updated runshell() calls to accept settings. git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3412 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/db/backends/postgresql/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'django/db/backends/postgresql') diff --git a/django/db/backends/postgresql/client.py b/django/db/backends/postgresql/client.py index 8123ec7848..38428a9c62 100644 --- a/django/db/backends/postgresql/client.py +++ b/django/db/backends/postgresql/client.py @@ -1,7 +1,6 @@ -from django.conf import settings import os -def runshell(): +def runshell(settings): args = ['psql'] if settings.DATABASE_USER: args += ["-U", settings.DATABASE_USER] -- cgit v1.3