[Answered ]-Django ListView pages and links

2👍

That is because get_absolute_url is not defined properly. You should override that method to return that post url. Based on your code:

def get_absolute_url(self):
    return "/%s/" % self.slug

Leave a comment