'Return the number of helpful votes in the last 30 days.'

@property
def recent_helpful_votes(self):

    start = (datetime.now() - timedelta(days=30))
    return HelpfulVote.objects.filter(revision__document=self, created__gt=start, helpful=True).count()
