aboutsummaryrefslogtreecommitdiff
path: root/rpki/django_settings/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/django_settings/common.py')
-rw-r--r--rpki/django_settings/common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpki/django_settings/common.py b/rpki/django_settings/common.py
index d2fe496c..2f676660 100644
--- a/rpki/django_settings/common.py
+++ b/rpki/django_settings/common.py
@@ -96,9 +96,9 @@ class DatabaseConfigurator(object):
def postgresql(self):
return dict(
ENGINE = "django.db.backends.postgresql_psycopg2",
- NAME = cfg.get("sql-database", section = section),
- USER = cfg.get("sql-username", section = section),
- PASSWORD = cfg.get("sql-password", section = section))
+ NAME = cfg.get("sql-database", section = self.section),
+ USER = cfg.get("sql-username", section = self.section),
+ PASSWORD = cfg.get("sql-password", section = self.section))
# Apps are also handled by the modules that import this one, now that