tags:

views:

94

answers:

3

I am looking to implement "like" functionallity a bit similar as they do in friendfeed. Is there a django reusable app that already does this?

Thanks! Nick.

+1  A: 

You could put your own together using parts of Pinax.

There isn't one app that would do this for you as it's too specific and reusable Django apps are supposed to be very focussed.

Oli
A: 

Search http://djangoplugables.com/

S.Lott
+4  A: 

This sort of thing you should just write yourself from scratch. A 'like' in its most basic form is going to be an object with relations to a user and some other object. Look at the contenttypes framework docs to see how to use generic foreign keys for this. The only other thing you need to worry about is to make the create view idempotent.

If you're new to django this is probably a fun little exercise to familiarise yourself with contenttypes. If you're not new, the whole app should take you less than an hour. I wouldn't go searching for a pluggable app either way.

ozan
I took your advice, and a bit of inspiration from the voting app as it is developed in pinax, and build my own thingy. As you said, the exercise was well worth it, I'm relatively new to django and pinax, and I learned something here.
Nick