i\'m developing a authentication backend with object-based permissions for my django-app.I use generic relations between an object and a permission:
Say I have the following models: class Image(models.Model): image= models.ImageField(max_length=200, upload_to=file_home)
I\'m using the object_list generic view to quickly list a set of Articles.Each Article has comments attached to it.The query uses an annotation to Count() the number of comments and then order_by() th