Ticket #5505: newforms-deepcopy.patch

File newforms-deepcopy.patch, 470 bytes (added by danlarkin, 15 years ago)

patch against revision 6348

  • django/newforms/widgets.py

     
    6868        return id_
    6969    id_for_label = classmethod(id_for_label)
    7070
     71    def __deepcopy__(self, memo):
     72        memo[id(self)] = self
     73        return self
     74
    7175class Input(Widget):
    7276    """
    7377    Base class for all <input> widgets (except type='checkbox' and
Back to Top