Hmm, I suppose another approach and possible horrible hack might be:

1. Create a queue of updates to the Content object
2. Votes are appended to the queue and immediately added to the
UserContentRelationship table.
3. A separate thread processes the queue periodically to ensure atomic
updates to the VoteTotal in the Content object.

I feel dirty for even thinking this.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to