#21936: Allow delete to provide a success message through a mixin.
-------------------------------------+-------------------------------------
     Reporter:  david.fischer.ch@…   |                    Owner:
         Type:  New feature          |  CarolineSimpson
    Component:  contrib.messages     |                   Status:  assigned
     Severity:  Normal               |                  Version:  master
     Keywords:  mixin                |               Resolution:
    Has patch:  1                    |             Triage Stage:  Accepted
  Needs tests:  1                    |      Needs documentation:  1
Easy pickings:  0                    |  Patch needs improvement:  1
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by CarolineSimpson):

 Here is a pull request that approaches the problem from a different angle:
 https://github.com/django/django/pull/2585
 Instead of adding a new mixin, the DeleteView is refactored to allow it to
 work with the existing SuccessMessageMixin.
 Thanks to @charettes for the approach and much of the code.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21936#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/084.974b47c2dce75bd4c3e519cf03b91789%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to