From 9d765751e86380ead600a3be7475afd53cb5d709 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 2 Oct 2021 07:32:00 -0700 Subject: [PATCH] Creates notification template directory --- bookwyrm/templates/{ => notifications}/notifications.html | 0 bookwyrm/views/notifications.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bookwyrm/templates/{ => notifications}/notifications.html (100%) diff --git a/bookwyrm/templates/notifications.html b/bookwyrm/templates/notifications/notifications.html similarity index 100% rename from bookwyrm/templates/notifications.html rename to bookwyrm/templates/notifications/notifications.html diff --git a/bookwyrm/views/notifications.py b/bookwyrm/views/notifications.py index d6897f39..38b35606 100644 --- a/bookwyrm/views/notifications.py +++ b/bookwyrm/views/notifications.py @@ -24,7 +24,7 @@ class Notifications(View): "unread": unread, } notifications.update(read=True) - return TemplateResponse(request, "notifications.html", data) + return TemplateResponse(request, "notifications/notifications.html", data) def post(self, request): """permanently delete notification for user"""