Ticket #24532: patch.diff

File patch.diff, 574 bytes (added by Neal Todd, 9 years ago)
  • django/db/utils.py

    diff --git a/django/db/utils.py b/django/db/utils.py
    index 475edae..4ce7030 100644
    a b class ConnectionRouter(object):  
    333333                # If the router doesn't have a method, skip to the next one.
    334334                continue
    335335
    336             argspec = inspect.getargspec(router.allow_migrate)
     336            argspec = inspect.getargspec(method)
    337337            if len(argspec.args) == 3 and not argspec.keywords:
    338338                warnings.warn(
    339339                    "The signature of allow_migrate has changed from "
Back to Top