Opened 95 minutes ago
#37062 new New feature
Add `preserve_request` support to `RedirectView`
| Reported by: | Jake Howard | Owned by: | |
|---|---|---|---|
| Component: | Generic views | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The redirect shortcut supports preserve_request to maintain the method and body of the original request during redirect.
The same functionality should exist on RedirectView to enable the same behaviour. Both as a class-level attribute and argument to as_view.
Note:
See TracTickets
for help on using tickets.