> On 2 Mar 2015, at 22:11, James Schneider <jrschneide...@gmail.com> wrote:
> 
> Nothing in Django specifically that I'm aware of (although that's not saying 
> much), but you can probably do something pretty slick with the operator 
> library and attrgetter:
> 
> https://docs.python.org/2/library/operator.html#operator.attrgetter 
> <https://docs.python.org/2/library/operator.html#operator.attrgetter>
Thanks - I thought that I might have to roll my own solution if there wasn't 
anything in Django, but operator.attrgetter looks like it'll make rolling my 
own easier.

Francis

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/F6E09F08-63B7-4CAC-B718-679847CB923B%40devrx.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to