#32428: [Feature Request] Allow DeleteView to override the redirect to use 303
-------------------------------+--------------------------------------
     Reporter:  kimsia         |                    Owner:  nobody
         Type:  New feature    |                   Status:  closed
    Component:  Generic views  |                  Version:  3.1
     Severity:  Normal         |               Resolution:  wontfix
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Carlton Gibson):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Hi, no sorry — I don't think any extra API is worth the added complexity
 here. Override `delete()` and return the response you want. It's four
 lines.

 See also the discussion on #21936 — the interplay between `DeleteView` and
 `DeletionMixin` is already too complicated and confused. We want to
 (radically) simplify that (if we're able to given backwards compatibility
 concerns) before we'll consider any expansions. I hope that makes sense.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32428#comment:1>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.a6773f5136d39d956ed6969439023618%40djangoproject.com.

Reply via email to