Anislav Atanasov

Results 15 comments of Anislav Atanasov

Hi, Ranking is applied for aggregated feeds but not for regular feeds. In your case what will the aggregated feed look like?

I see now. I assume that you create activities like: ``` activity = Activity( actor=vote.user_id, verb=Vote, object=vote.id, target=vote.item_id, time=vote.creation_date ) ``` In this case, I think you can implement your...

The short answer to your question is - not, it is not possible to use such a filter. You can safely filter the activities in Python as you suggested in...

Yes, it does not work in the expected by me way when `.prefetch_related('photopost__photo')` is used. In this case too many SQL queries are executed which is not optimal. Look at...

Probably, you are right regarding the `Photos` cache part of the problem. Anyway, executing the following ``` posts = list(Post.objects.select_subclasses().prefetch_related('photopost__photos').all()) ``` results in 3 SQL queries which is an issue...