summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-03-24 10:33:50 -0400
committerTim Graham <timograham@gmail.com>2015-03-24 10:33:50 -0400
commitb81ce2ed6707e465ac35201f9b61e055ee22cc1d (patch)
tree5fea3647e95376d9f631b3ea2db28cfceef7d1e6
parent09933aef684e4d53042eceab2e75646fe7760154 (diff)
[1.8.x] Fixed #24532 -- Restored fallback support for allow_syncdb.
-rw-r--r--django/db/utils.py2
1 files changed, 1 insertions, 1 deletions
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 "