Opened 13 years ago

Closed 13 years ago

Last modified 13 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: no UI/UX: no

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 by Russell Keith-Magee, 13 years ago

Resolution: fixed
Status: newclosed

In [15992]:

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

comment:2 by Russell Keith-Magee, 13 years ago

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