#24359 closed Bug (fixed)
"Http exceptions are provided in django.http" links to a page that does not list or link to HTTP exceptions
Reported by: | Daniel Greenfeld | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.8alpha1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Finding the list of HTTP exceptions via the documentation on any version of the Django documentation appears to be challenging.
References:
Change History (7)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
PR -- feedback welcome. We can create a separate ticket about documenting those other exceptions if needed.
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 9 years ago
I have a use case for adding documentation on RawPostDataException . I feel it would have helped me greatly if Django had this docstring in the Http Exceptions documenation (or even a mention in the HttpRequest docs).
Shall I open a new ticket or can we add a patch here?
The only documented exception seems to be
UnreadablePostError
. I guess we might add things likeRawPostDataException
andMultiPartParserError
although we'd have to confirm there is a case for using them in code outside of Django itself.The sentence "Http exceptions are provided in django.http." means that you can import the exceptions in this section from there, not that the linked page has information about them (like the rest of the sections on that page, but maybe this needs to be clarified... we could remove the links I suppose).
We are trying to redo the docs search using ElasticSearch if useless search results is part of your complaint.