def get_last_post(self):
        try:
            return self.post_set.order_by('-date')[0]
        except __HOLE__:
            return None
dataset/ETHPy150Open johnboxall/snapboard/snapboard/models.py/Thread.get_last_post