On Wed, Jun 24, 2009 at 10:58 PM, Chuck Harmston 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 QuerySe
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() severa