mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
add request parameter to render function in apps/profiles/views.py login view
This commit is contained in:
parent
bd3423fe9c
commit
ba948e56f5
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ def login(request):
|
|||
logging.user(form.get_user(), "~FG~BBOAuth Login~FW")
|
||||
return HttpResponseRedirect(request.POST['next'] or reverse('index'))
|
||||
|
||||
return render('accounts/login.html', {
|
||||
return render(request, 'accounts/login.html', {
|
||||
'form': form,
|
||||
'next': request.POST.get('next', "")})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue