#10709: Please clarify what objects are accepted by get_object_or_404 ---------------------------+------------------------------------------------ Reporter: zgoda | Owner: nobody Status: new | Milestone: Component: Documentation | Version: SVN Keywords: shortcuts | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ 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. -- Ticket URL: <http://code.djangoproject.com/ticket/10709> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
