summaryrefslogtreecommitdiff
path: root/app/posts/models.py
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2025-05-31 11:37:22 -0500
committerlxf <sng@luxagraf.net>2025-05-31 11:37:22 -0500
commite2b3a335e3984931f1343cb6be8db53a8a1304ab (patch)
tree4c31dcb9e55487858dbb939f3fc53afd153eeb5c /app/posts/models.py
parente0bd735f74c327f1c6f0abccc431b35a270fb8eb (diff)
condensed everything into jrnl. need to clean up
Diffstat (limited to 'app/posts/models.py')
-rw-r--r--app/posts/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/posts/models.py b/app/posts/models.py
index ba578b8..94adf6c 100644
--- a/app/posts/models.py
+++ b/app/posts/models.py
@@ -138,7 +138,8 @@ class Post(models.Model):
if self.post_type == PostType.PHOTO_ESSAY:
return reverse('photo_essay:detail', kwargs={"slug": self.slug})
if self.post_type == PostType.ESSAY:
- return reverse('essays:detail', kwargs={"cat": self.get_post_topic_display(), "slug": self.slug})
+ #return reverse('essays:detail', kwargs={"cat": self.get_post_topic_display(), "slug": self.slug})
+ return reverse('jrnl:essay', kwargs={"slug": self.slug,})
if self.post_type == PostType.SRC:
return reverse('src:detail', kwargs={"slug": self.slug})
if self.post_type == PostType.FIELD_NOTE: