Skip to content
Browse files

Merge pull request #1258 from batisteo/ticket-20585

Fixed #20585: normalize signature of
  • Loading branch information...
2 parents 9ff5f10 + 52f99b7 commit 51739c624185b4b45877f521ed5015f2fe01b6e8 @mjtamlyn mjtamlyn 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 51739c6

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