1
0
mirror of https://github.com/django/django.git synced 2024-12-25 02:26:12 +00:00

[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

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 "