code in views.py file
def settings(request): if not request.user.is_authenticated: return redirect(\'login\') context = {} if request.POST: