1
0
mirror of https://github.com/django/django.git synced 2025-06-05 11:39:13 +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. # If the router doesn't have a method, skip to the next one.
continue continue
argspec = inspect.getargspec(router.allow_migrate) argspec = inspect.getargspec(method)
if len(argspec.args) == 3 and not argspec.keywords: if len(argspec.args) == 3 and not argspec.keywords:
warnings.warn( warnings.warn(
"The signature of allow_migrate has changed from " "The signature of allow_migrate has changed from "