Skip to content
Snippets Groups Projects
Unverified Commit fb851646 authored by florimondmanca's avatar florimondmanca
Browse files

fix visit site URL

parent 3ee942c5
No related branches found
No related tags found
No related merge requests found
...@@ -216,7 +216,7 @@ class Visit(models.Model): ...@@ -216,7 +216,7 @@ class Visit(models.Model):
def get_site_url(self): def get_site_url(self):
site = Site.objects.get_current() site = Site.objects.get_current()
return f'https://{site.domain}/visits/{self.pk}' return f'https://{site.domain}/membres/sorties/{self.pk}'
def __str__(self): def __str__(self):
return str(self.title) return str(self.title)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment