From b81ce2ed6707e465ac35201f9b61e055ee22cc1d Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 24 Mar 2015 10:33:50 -0400 Subject: [PATCH] [1.8.x] Fixed #24532 -- Restored fallback support for allow_syncdb. --- django/db/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/utils.py b/django/db/utils.py index 475edae033..4ce7030eb3 100644 --- a/django/db/utils.py +++ b/django/db/utils.py @@ -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 "