#19044: Allow get_success_url to access self. object in DeletionMixin -------------------------------------+------------------------------------- Reporter: anonymous | Owner: charettes Type: | Status: assigned Cleanup/optimization | Version: master Component: Generic views | Resolution: Severity: Normal | Triage Stage: Ready for Keywords: | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by charettes): Added a new patch based on nxvl and slurms work with a release note. Tests were rewritten because they were not failing without the `DeletionMixin.delete` fix since `self.object.slug` is still accessible after deletion. It's not the case with `self.object.id`. Also fixed some badly indented code while I was there. -- Ticket URL: <https://code.djangoproject.com/ticket/19044#comment:10> 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. For more options, visit https://groups.google.com/groups/opt_out.