Commit 5c511837 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Fixed syntax error on the get_absolute_url function

parent 0855bf3b
......@@ -14,7 +14,7 @@ class ForumPost(models.Model):
return self.title
def get_absolute_url(self):
return reverse('forumpost-details', kwargs={'pk':self.pk})
return reverse('forum:forumpost_details', kwargs={'pk':self.pk})
# Reply
# body; author; pub_datetime; forum_post;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment