[1.8.x] Fixed #24532 -- Restored fallback support for allow_syncdb.

This commit is contained in:
Tim Graham 2015-03-24 10:33:50 -04:00
parent 09933aef68
commit b81ce2ed67
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class ConnectionRouter(object):
# If the router doesn't have a method, skip to the next one.
continue
argspec = inspect.getargspec(router.allow_migrate)
argspec = inspect.getargspec(method)
if len(argspec.args) == 3 and not argspec.keywords:
warnings.warn(
"The signature of allow_migrate has changed from "