From e011d9cf24895b1465ce2adbcd94981360b5f7af Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 8 Oct 2015 03:08:37 +0000 Subject: 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 --- rpki/irdb/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpki/irdb/router.py') 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: -- cgit v1.2.3