On Wed, Jun 24, 2009 at 10:58 PM, Chuck Harmston<[email protected]> wrote: > Hello everyone! > I recently posted a patch that adds two methods to django.shortcuts: > get_list_or_none() and get_object_or_none(). These function identically to > their get _x_or_404 cousins, with one exception: they return empty QuerySets > rather than raising a 404. I've used get_list_or_none() several times in my > own projects, but in ticket #2659 Adrian dismissed get_object_or_none() as > scope creep. Since then, however, objects.none() has been added, which would > greatly enhance the utility of such methods (rather than just returning > false). > http://code.djangoproject.com/ticket/11352 > Any comments/feedback/improvements are, of course, welcome. Thanks!
Hi Chuck, Thanks for the contribution. You've clearly done your homework in searching the ticket history, and that effort is much appreciated. However, two quick points: - As noted in the contribution docs, there's no need to post a message to Django-dev when you open a ticket. "The powers that be" are on a mailing list that is notified whenever a ticket is opened, changed, or closed, so we already know about your ticket. The only reason to start a mailing list thread for a ticket is if you want to nail down a particular design idea before writing a patch. In this case, there isn't much design required - if we decide to add this feature, it's a fairly trivial patch. We just need to make a decision about whether we want to include this feature. - The reason there hasn't been any decision or feedback on your ticket so far is that we are in the final throes of releasing v1.1, so the attention of the community isn't really focussed on new features at this point. We're down to just a handful of tickets; with any luck, v1.1 will be released RSN. Once v1.1 is tagged and bagged, we'll open the floor for discussions on features that people want for v1.2. If you raise your suggestion then, you'll get a little more traction. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
