Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#13920 closed (invalid)

Django Redirect Example isn't Right

Reported by: jsoncorwin Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords: example redirect
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

At http://docs.djangoproject.com/en/1.1/topics/http/shortcuts/ the example for redirect doesn't correctly show it as using HttpResponseRedirect, but instead an alias of 'redirect'

Change History (2)

comment:1 by Karen Tracey, 14 years ago

Resolution: invalid
Status: newclosed
Summary: Django Redirect Example isn't Right`

? That page gives examples of using the redirect() shortcut. It is correct that they use redirect, not HttpResponseRedirect, since they are intended to illustrate use of the shortcut.

comment:2 by Karen Tracey, 14 years ago

Summary: `Django Redirect Example isn't Right

Restoring summary I did not intend to change.

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