Removed a line

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