Removed a line

parent 25b155a2
......@@ -2,7 +2,6 @@ from django.shortcuts import render
from django.views.generic.detail import DetailView
from django.views.generic.edit import CreateView, UpdateView
from .models import Announcement
from django.http import Http404
def index(request):
announcement_view = "Widget's Announcement Board <br/>"
......@@ -30,6 +29,7 @@ class AnnouncementsUpdateView(UpdateView):
fields = 'title', 'body', 'author'
template_name = 'announcements/announcement-edit.html'
# for a in announcements:
# like_tally=0
# love_tally=0
......
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