Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15739 closed Bug (fixed)

Class-based redirect view only redirects GET requests

Reported by: russellm Owned by: nobody
Component: Generic views Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The new class-based redirect view raises a 405 error if it receives any request other than a GET. This is a major change from the old redirect_to function-based redirect view.

Change History (2)

comment:1 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

In [15992]:

Fixed #15739 -- Added support to RedirectView for HEAD, OPTIONS, POST, PUT and DELETE requests

comment:2 Changed 4 years ago by russellm

In [15995]:

[1.3.X] Fixed #15739 -- Added support to RedirectView for HEAD, OPTIONS, POST, PUT and DELETE requests

Backport of r15992 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top