#11352: get_object/list_or_none methods
-------------------------------------+--------------------------------------
Reporter: cpharmston | Owner: nobody
Status: new | Milestone:
Component: Core framework | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 1 |
-------------------------------------+--------------------------------------
Changes (by cpharmston):
* summary: get_object/list_or_404 methods => get_object/list_or_none
methods
Comment:
Whoops, obvious oversight! I forgot to wrap list() around the return value
for get_list_or_none().
--
Ticket URL: <http://code.djangoproject.com/ticket/11352#comment:3>
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
-~----------~----~----~----~------~----~------~--~---