Code

Ticket #3601: django-patch-for-ticket3601.patch

File django-patch-for-ticket3601.patch, 410 bytes (added by brice@…, 7 years ago)

not extensively tested patch

  • views/main.py

     
    133133 
    134134    def original_value(self): 
    135135        if self.original: 
    136             return self.original.__dict__[self.field.column] 
     136            return self.original.__dict__[self.field.attname] 
    137137 
    138138    def existing_display(self): 
    139139        try: