Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#15739 closed Bug (fixed)

Class-based redirect view only redirects GET requests

Reported by: Russell Keith-Magee 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 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

In [15992]:

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

comment:2 Changed 6 years ago by Russell Keith-Magee

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