#33263: DeleteView in Django4.0 does not call .delete() method
-------------------------------------+------------------------------------
     Reporter:  Eugene Prikazchikov  |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Generic views        |                  Version:  4.0
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------

Comment (by Carlton Gibson):

 Fetching from the database is a bit of a side-effect I’d argue. 😃

 But **also** as proposed the default implementation would raise a warning,
 so I’d have to override `form_valid` to silence that, only to delete that
 at the end of the deprecation period.

 We can back and forth all day, let’s see what others say.

 In any case, thanks for the report!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33263#comment:12>
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/066.ba28797cd89bab72bdda280cf809f27f%40djangoproject.com.

Reply via email to