diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-08 02:17:47 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-08 02:17:47 +0000 |
commit | 9aa4f71e89de9e9189571c68ba1589024f77d71a (patch) | |
tree | 3be02352f5ca4b3816b44246c294ddfa7c176e05 /ca/tests/yamlconf.py | |
parent | 3284d6687e0712cb78536be126d461833899e618 (diff) |
Initial sorta-mostly-working with Django 1.8. Incredibly noisy due to
incomprehensible advance depreciation warnings for Django 1.9.
svn path=/branches/tk705/; revision=6100
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 |