diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-08 03:08:37 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-08 03:08:37 +0000 |
commit | e011d9cf24895b1465ce2adbcd94981360b5f7af (patch) | |
tree | efe79ccf4ca4bcb966ac048ed0d1c121a3f0d38f /rpki/irdb/router.py | |
parent | 9aa4f71e89de9e9189571c68ba1589024f77d71a (diff) |
Upgrade to new way of doing WSGI. Silence ten zillion deprecation
warnings: Django 1.8 has a really obscure way of saying "Please don't
import your models into your apps' __init__.py files, thanks."
svn path=/branches/tk705/; revision=6101
Diffstat (limited to 'rpki/irdb/router.py')
-rw-r--r-- | rpki/irdb/router.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpki/irdb/router.py b/rpki/irdb/router.py index 97e3d0b7..0aaf53ce 100644 --- a/rpki/irdb/router.py +++ b/rpki/irdb/router.py @@ -58,7 +58,7 @@ class DBContextRouter(object): else: return None - def allow_syncdb(self, db, model): + def allow_migrate(self, db, model): if db == self._database and model._meta.app_label == self._app: return True else: |