Commit 00638540 authored by Rac Gerard Elizaga's avatar Rac Gerard Elizaga

Removed commented out code in forum/views.py

parent bfa7a979
......@@ -6,11 +6,4 @@ def index(request):
post = Post.objects.all()
reply = Reply.objects.all()
return render(request, 'forum.html', {'post': post, 'reply': reply})
#display_message = "FORUM POSTS: \n"
#for i in Post.objects.all():
# display_message += f"{i.post_title}"
#return HttpResponse(display_message)
\ No newline at end of file
return render(request, 'forum.html', {'post': post, 'reply': reply})
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment