@login_required
@require_http_methods(['GET'])
def account_settings(request):
 return render_to_response('student_account/account_settings.html', account_settings_context(request))

@ login_required @ require_http_methods ( [ 'GET' ] ) def account_settings ( request ) : return render_to_response ( 'student_account/account_settings.html' , account_settings_context ( request ) )
render the current users account settings page .