#11589 closed (fixed)
Typo in documentation for get_object_or_404
Reported by: | tsaylor | Owned by: | tsaylor |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Pull Requests: | How to create a pull request | ||
Description ¶
The documentation for get_object_or_404 lists the function and arguments like this:
get_object_or_404(object, *args, **kwargs)
But in the Required arguments section, the first argument is referred to as 'klass'. Since the documentation for get_list_or_404 uses 'klass' in both places, I presume that's the intention here as well.
Change History (7)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 16 years ago
Attachment: | patch.diff added |
---|
comment:3 by , 16 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:4 by , 16 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Documentation change