Skip to content

Commit

Permalink
Fix URLs for womble pages
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed May 26, 2024
1 parent 6be3287 commit 33d9547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ynr/apps/wombles/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def label_emoji(self):
return text.title()

def get_absolute_url(self):
return reverse("womble_tag", args=[self.label])
return reverse("wombles:womble_tag", args=[self.label])


class WombleProfile(models.Model):
Expand All @@ -53,7 +53,7 @@ def __str__(self):
return str(self.user.pk)

def get_absolute_url(self):
return reverse("single_womble", args=[self.user.pk])
return reverse("wombles:single_womble", args=[self.user.pk])

def edits_over_time(self):
cursor = connection.cursor()
Expand Down

0 comments on commit 33d9547

Please sign in to comment.