After following a tutorial, I have two views in my auth blueprint. I am confused over the different uses of redirect. The first view uses redirect(url_for()) but the second omits url_for. Why is this? Is it not enough to use just redirect('blueprint_name.route_name')?
return redirect(url_for('auth.unconfirmed'))
return redirect('main.index')