diff options
Diffstat (limited to 'rpki/django_settings')
-rw-r--r-- | rpki/django_settings/irdb.py | 3 | ||||
-rw-r--r-- | rpki/django_settings/pubd.py | 3 | ||||
-rw-r--r-- | rpki/django_settings/rpkid.py | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/rpki/django_settings/irdb.py b/rpki/django_settings/irdb.py index 11e7417a..56ed92ff 100644 --- a/rpki/django_settings/irdb.py +++ b/rpki/django_settings/irdb.py @@ -32,7 +32,8 @@ DATABASES = dict( default = dict(ENGINE = "django.db.backends.mysql", NAME = cfg.get("sql-database", section = "irdbd"), USER = cfg.get("sql-username", section = "irdbd"), - PASSWORD = cfg.get("sql-password", section = "irdbd"))) + PASSWORD = cfg.get("sql-password", section = "irdbd"), + OPTIONS = dict(charset = "latin1"))) # Apps. diff --git a/rpki/django_settings/pubd.py b/rpki/django_settings/pubd.py index 7ae533e7..8539b8e5 100644 --- a/rpki/django_settings/pubd.py +++ b/rpki/django_settings/pubd.py @@ -30,7 +30,8 @@ DATABASES = dict( default = dict(ENGINE = "django.db.backends.mysql", NAME = cfg.get("sql-database", section = "pubd"), USER = cfg.get("sql-username", section = "pubd"), - PASSWORD = cfg.get("sql-password", section = "pubd"))) + PASSWORD = cfg.get("sql-password", section = "pubd"), + OPTIONS = dict(charset = "latin1"))) # Apps. diff --git a/rpki/django_settings/rpkid.py b/rpki/django_settings/rpkid.py index a2aa9401..1c302b2e 100644 --- a/rpki/django_settings/rpkid.py +++ b/rpki/django_settings/rpkid.py @@ -30,7 +30,8 @@ DATABASES = dict( default = dict(ENGINE = "django.db.backends.mysql", NAME = cfg.get("sql-database", section = "rpkid"), USER = cfg.get("sql-username", section = "rpkid"), - PASSWORD = cfg.get("sql-password", section = "rpkid"))) + PASSWORD = cfg.get("sql-password", section = "rpkid"), + OPTIONS = dict(charset = "latin1"))) # Apps. |