diff options
Diffstat (limited to 'ca/tests/yamlconf.py')
-rw-r--r-- | ca/tests/yamlconf.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ca/tests/yamlconf.py b/ca/tests/yamlconf.py index 4c003835..13456377 100644 --- a/ca/tests/yamlconf.py +++ b/ca/tests/yamlconf.py @@ -778,12 +778,15 @@ def body(): databases["default"] = databases[db.root.irdb_name] + import django + django.setup() + from django.conf import settings settings.configure( - DATABASES = databases, + DATABASES = databases, DATABASE_ROUTERS = ["rpki.irdb.router.DBContextRouter"], - INSTALLED_APPS = ("rpki.irdb", "south")) + INSTALLED_APPS = ["rpki.irdb"]) import rpki.irdb |