django/django — pull request #2585 by cpsimpson (2014-04-17 20:11:28+00:00)
Title: Fixed #21936 -- Refactored DeleteView to be compatible with SuccessMessa...

Refactored DeleteView to use the form related base classes and mixins, like the
other class-based generic editing views. Added tests for the handling the
DELETE http method and ensuring the SuccessMessageMixin works. Updated DeleteView
documentation to reflect the new base classes.
The majority of the code changes were provided by @charettes.