def get_absolute_url(self): target = reverse_lazy('blog:post_detail', args=[self.author.username, self.slug]) return target