def METHOD_NAME(self):
    if self.article.can_moderate(self.request.user) or self.article.can_delete(
        self.request.user
    ):
        images = models.Image.objects.filter(article=self.article)
    else:
        images = models.Image.objects.filter(
            article=self.article, current_revision__deleted=False
        )
    images.select_related()
    return images.order_by("-current_revision__imagerevision__created")