Added 'add announcement' feature with working image upload

parent 0dfd0cda
...@@ -66,7 +66,7 @@ class AnnouncementDetailsView(View): ...@@ -66,7 +66,7 @@ class AnnouncementDetailsView(View):
try: try:
user = WidgetUser.objects.get(pk=announcement.author.id) user = WidgetUser.objects.get(pk=announcement.author.id)
except WidgetUser.DoesNotExist: except WidgetUser.DoesNotExist:
raise Http404("User does not exist!") raise Http404("User/s do/does not exist!")
context = { context = {
"Announcement": announcement, "Announcement": announcement,
"reactions": reactions, "reactions": reactions,
......
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