Allow the use of a settings_local.py file.
authorDave Page <dpage@pgadmin.org>
Sat, 25 May 2013 16:23:25 +0000 (12:23 -0400)
committerDave Page <dpage@pgadmin.org>
Sat, 25 May 2013 16:23:25 +0000 (12:23 -0400)
pgcac/pgcac/settings.py

index ddb130993813e17a0dc8c302abddbb1d41b8c6bb..4e4e68e06d7dc2780e87376cd4999b74e7a35172 100644 (file)
@@ -15,8 +15,8 @@ DATABASES = {
         'NAME': 'pgcac',                      # Or path to database file if using sqlite3.
         # The following settings are not used with sqlite3:
         'USER': 'pgcac',
-        'PASSWORD': 'pgcac',
-        'HOST': '127.0.0.1',                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
+        'PASSWORD': '',
+        'HOST': '/var/run/postgresql',                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
         'PORT': '',                      # Set to empty string for default.
     }
 }
@@ -153,3 +153,6 @@ LOGGING = {
         },
     }
 }
+
+# Load local settings overrides
+from settings_local import *