Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 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.

Attachments (0)

Change History (2)

comment:1 Changed 3 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 3 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.