barszczmm/django-easy-friends — pull request #1 by chrislawlor (2012-07-20 17:59:59+00:00)
Title: Adds support for Lists of Friends

If you're interested, I've added support for Facebook-style Friend lists. I'm intending to use this to allow users to share content to a list, rather than having to share content to individual friends.

It's implemented as a simple M2M to User, with some signals to make sure that non-friends are not added to the list, and to delete friends from lists when the friendship is deleted. It's designed in this way to make reading the friends list (the most frequent operation) as cheap as possible.

It's just models and tests at this point, no views (mine is an API driven site, so I don't have much use for views).

Tests included.