Skip to content
Snippets Groups Projects
Verified Commit ae189d94 authored by jindra12's avatar jindra12
Browse files

Simplify original url

parent 276712b7
No related branches found
No related tags found
2 merge requests!816Release,!801Prepare basic shared tags
Pipeline #13889 passed
...@@ -104,7 +104,7 @@ class ArticleMixin(models.Model): ...@@ -104,7 +104,7 @@ class ArticleMixin(models.Model):
@property @property
def get_original_url(self): def get_original_url(self):
return f"{self.get_parent().get_ancestors().specific().live().last().full_url}{self.slug}" return self.full_url
@property @property
def get_no_index(self): def get_no_index(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment