diff options
Diffstat (limited to 'app/posts/models.py')
-rw-r--r-- | app/posts/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/posts/models.py b/app/posts/models.py index 1dafa1a..1510820 100644 --- a/app/posts/models.py +++ b/app/posts/models.py @@ -105,7 +105,7 @@ class Post(models.Model): def get_absolute_url(self): if self.post_type == PostType.FILM: - return reverse('essays:detail', kwargs={"slug": self.slug}) + return reverse('film:detail', kwargs={"slug": self.slug}) if self.post_type == PostType.ESSAY: return reverse('essays:detail', kwargs={"slug": self.slug}) if self.post_type == PostType.RANGE: |