Ticket #12134: 12134.diff

File 12134.diff, 489 bytes (added by James Bennett, 15 years ago)
  • django/contrib/admin/widgets.py

     
    211211    def __deepcopy__(self, memo):
    212212        obj = copy.copy(self)
    213213        obj.widget = copy.deepcopy(self.widget, memo)
    214         obj.attrs = self.widget.attrs
     214        obj.attrs = self.widget.attrs.copy()
    215215        memo[id(self)] = obj
    216216        return obj
    217217
Back to Top