Opened 16 years ago
Closed 15 years ago
#10709 closed (duplicate)
Please clarify what objects are accepted by get_object_or_404
Reported by: | Jarek Zgoda | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | shortcuts | |
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 |
Description
The description for get_object_or_404 does not state what types of objects are allowed to be queried. Some of these types are described later in function interface description, but the description is incomplete (does not specify which manager is used to retireve object).
Attached patch to documentation adds the above specification to function description.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | getobjector404.call.clarification.diff added |
---|
comment:1 by , 15 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
extended description of acceptable types