Commit b81ce2ed authored by Tim Graham's avatar Tim Graham
Browse files

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

parent 09933aef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 "