Ticket #15764: ModelFormMixin-15764.patch

File ModelFormMixin-15764.patch, 530 bytes (added by andrewebdev, 4 years ago)
  • django/views/generic/edit.py

     
    234234    """
    235235
    236236
    237 class DeleteView(SingleObjectTemplateResponseMixin, BaseDeleteView):
     237class DeleteView(SingleObjectTemplateResponseMixin, BaseDeleteView,
     238                 ModelFormMixin):
    238239    """
    239240    View for deleting an object retrieved with `self.get_object()`,
    240241    with a response rendered by template.
Back to Top