mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 22:59:39 +00:00
fix linting
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user