From 05b25d004ecbb88d62a30019cf82fb3fc7f52c2c Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 22 Oct 2021 18:23:06 +0700 Subject: [PATCH] fix linting --- tubearchivist/home/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/views.py b/tubearchivist/home/views.py index 1c16844..b8103c2 100644 --- a/tubearchivist/home/views.py +++ b/tubearchivist/home/views.py @@ -161,7 +161,7 @@ class LoginView(View): """handle login post request""" form = AuthenticationForm(data=request.POST) if form.is_valid(): - next_url = request.POST.get('next') or "home" + next_url = request.POST.get("next") or "home" print(f"next url: {next_url}") user = form.get_user() login(request, user)