mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-12-22 18:00:17 +00:00
fix linting
This commit is contained in:
parent
825ebd874e
commit
05b25d004e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user