Ticket #15601: 15601.patch

File 15601.patch, 625 bytes (added by John Paulett, 13 years ago)
  • django/db/models/base.py

    diff --git a/django/db/models/base.py b/django/db/models/base.py
    index 4000379..286f9b0 100644
    a b class Model(object):  
    397397        model = self.__class__
    398398        # The obvious thing to do here is to invoke super().__reduce__()
    399399        # for the non-deferred case. Don't do that.
    400         # On Python 2.4, there is something wierd with __reduce__,
     400        # On Python 2.4, there is something weird with __reduce__,
    401401        # and as a result, the super call will cause an infinite recursion.
    402402        # See #10547 and #12121.
    403403        defers = []
Back to Top