Ticket #1030: django_1030.patch

File django_1030.patch, 788 bytes (added by yk4ever@…, 18 years ago)

Temporary fix

  • manipulators.py

     
    180180                            param = getattr(new_object, related.field.rel.field_name)
    181181                        elif (not self.change) and isinstance(f, AutoField):
    182182                            param = None
    183                         elif self.change and (isinstance(f, FileField) or not child_follow.get(f.name, None)):
     183                        elif self.change and (isinstance(f, FileField) or not child_follow.get(f.name, None) or not f.editable):
    184184                            if old_rel_obj:
    185185                                param = getattr(old_rel_obj, f.column)
    186186                            else:
Back to Top