aboutsummaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authorBobby <[email protected]>2023-06-04 06:09:34 -0400
committerBobby <[email protected]>2023-06-04 06:09:34 -0400
commit01a5d2ca1f6cbc77e2014cefedc9c714cbc0cfd6 (patch)
treeb852fb49d21f6160b0df211755c5620df471d639 /blog
parentbff162440329eaa49a58fdabc5c9aecbeb53673c (diff)
downloadthatcomputerscientist-01a5d2ca1f6cbc77e2014cefedc9c714cbc0cfd6.tar.xz
thatcomputerscientist-01a5d2ca1f6cbc77e2014cefedc9c714cbc0cfd6.zip
Enable Recommender with Debug
Diffstat (limited to 'blog')
-rw-r--r--blog/views.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/blog/views.py b/blog/views.py
index a855d0fe..f293a4ad 100644
--- a/blog/views.py
+++ b/blog/views.py
@@ -174,8 +174,7 @@ def post(request, slug):
request.meta['description'] = BeautifulSoup(first_paragraph, 'html.parser').get_text()
request.meta['image'] = 'https://thatcomputerscientist.com/ignis/post_image/720/' + str(post.id) + '.gif'
- # read_next = next_read(post)
- read_next = None
+ read_next = next_read(post)
return render(request, 'blog/post.html', {'title': post.title, 'post': post, 'tags': tags, 'comments': comments, 'view_count': view_count, 'read_next': read_next})
else: