#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 , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Summary: | Django Redirect Example isn't Right → ` |
comment:2 by , 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.
? That page gives examples of using the redirect() shortcut. It is correct that they use
redirect
, notHttpResponseRedirect
, since they are intended to illustrate use of the shortcut.