Skip to content

Commit

Permalink
applied black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfaq1934 committed Jun 16, 2023
1 parent b3f3400 commit 57a60c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/threads/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 57a60c0

Please sign in to comment.