Changes between Version 23 and Version 24 of DjangoSpecifications/Core/SingleInstance


Ignore:
Timestamp:
09/22/2008 04:57:14 PM (7 years ago)
Author:
msaelices
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoSpecifications/Core/SingleInstance

    v23 v24  
    160160        if name in _reserved_attributes:
    161161            return object.__setattr__(self, name, value)
    162         return setattr(self.instance, name, value)
     162        return setattr(self.__instance, name, value)
    163163
    164164    def __getattr__(self, name, value=None):
    165165        if name in _reserved_attributes:
    166166            return object.__getattr__(self, name, value)
    167         return getattr(self.instance, name, value)
     167        return getattr(self.__instance, name, value)
    168168}}}
    169169
Back to Top