I'm implementing a DeleteView, and for completion I would like to provide the functionality indicated here:
https://docs.djangoproject.com/en/2.1/ref/class-based-views/generic-editing/#deleteview *If this view is fetched via GET, it will display a confirmation page that should contain a form that POSTs to the same URL.* However, by default a GET will not include the required context to the template for {% csrf_token %}. How do I include the appropriate context information for a plain DeleteView CBV? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/213ca896-0973-4b64-9345-50de5cd9e5d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.