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:
parent
09933aef68
commit
b81ce2ed67
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user