From 57a60c088afa4c1d619e6548902fe9736929a9cf Mon Sep 17 00:00:00 2001 From: Ashfaq Ahmed <46718979+ashfaq1934@users.noreply.github.com> Date: Sat, 17 Jun 2023 00:15:30 +0100 Subject: [PATCH] applied black formatting --- project/threads/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/threads/views.py b/project/threads/views.py index f37a31b8..bae110a6 100644 --- a/project/threads/views.py +++ b/project/threads/views.py @@ -164,7 +164,9 @@ def get_form_kwargs(self): def form_invalid(self, form): messages.error(self.request, form.errors) return HttpResponseRedirect( - reverse_lazy("thread-detail", kwargs={"pk": self.kwargs.get("thread_id")}) + reverse_lazy( + "thread-detail", kwargs={"pk": self.kwargs.get("thread_id")} + ) # noqa ) def get_success_url(self):