Code

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


Ignore:
Timestamp:
09/22/08 14:57:14 (6 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