diff --git a/tubearchivist/home/views.py b/tubearchivist/home/views.py index 1c16844d..b8103c2f 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)