Opened 13 years ago
Closed 13 years ago
#17322 closed Uncategorized (fixed)
HttpResponse documentation should give example import
Reported by: | Roy Smith | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | 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
In https://docs.djangoproject.com/en/1.3/ref/request-response/, it says:
The HttpResponse class lives in the django.http module.
I knew I wanted HttpResponse, but couldn't remember what import I needed. So, I searched for the word "import" on that page, and it was nowhere to be found! If one of the examples had:
from django.http import HttpResponse
I would have found it quickly.
Change History (3)
comment:1 by , 13 years ago
Component: | Uncategorized → Documentation |
---|
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [17217]: