Skip to content
This repository was archived by the owner on May 23, 2020. It is now read-only.

Commit 1a49e0f

Browse files
committed
Fixed typo
1 parent f35690d commit 1a49e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blog/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def __unicode__(self):
128128
return self.title
129129

130130
def get_absolute_url(self):
131-
return reverse("page_detail", kwargs={"slug_page": self.slug})
131+
return reverse("page_detail", kwargs={"slug": self.slug})
132132

133133
def visit_on_site(self):
134134
return '<a href="'+self.domain_post+str(self.slug)+'" target="_blank">'+str(self.slug)+'</a>'
@@ -150,4 +150,4 @@ def __unicode__(self):
150150

151151
class Meta:
152152
verbose_name_plural = "Entry Views"
153-
ordering = ["-created"]
153+
ordering = ["-created"]

0 commit comments

Comments
 (0)