Skip to content
Browse files

Fixed #20585: normalize signature of

  • Loading branch information...
1 parent 9ff5f10 commit 52f99b78bcc36c4dfdd2870ee139cd5461fb9e91 @batisteo batisteo committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/views/generic/
4 django/views/generic/
@@ -242,8 +242,8 @@ def delete(self, request, *args, **kwargs):
return HttpResponseRedirect(success_url)
# Add support for browsers which only accept GET and POST for now.
- def post(self, *args, **kwargs):
- return self.delete(*args, **kwargs)
+ def post(self, request, *args, **kwargs):
+ return self.delete(request, *args, **kwargs)
def get_success_url(self):
if self.success_url:

0 comments on commit 52f99b7

Please sign in to comment.
Something went wrong with that request. Please try again.