Updated views.py page_content variable

parent 7d070323
......@@ -4,7 +4,7 @@ from django.http import HttpResponse
from .models import ForumPost, Reply
# Create your views here.
def index(request):
page_content = "<p>Widget's Forum</> Forum Posts:<br>"
page_content = "<p>Widget's Forum Posts:<br>"
for post in ForumPost.objects.all():
page_content += '{} by {} {} posted {}:<br>{}<br>'.format(
......
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