def setting_list(request):
 if (not test_user_authenticated(request)):
  return login(request, next='/cobbler_web/setting/list', expired=True)
 settings = remote.get_settings()
 skeys = settings.keys()
 skeys.sort()
 results = []
 for k in skeys:
  results.append([k, settings[k]])
 t = get_template('settings.tmpl')
 html = t.render(RequestContext(request, {'settings': results, 'version': remote.extended_version(request.session['token'])['version'], 'username': username}))
 return HttpResponse(html)

def setting_list ( request ) : if ( not test_user_authenticated ( request ) ) : return login ( request , next = '/cobbler_web/setting/list' , expired = True ) settings = remote . get_settings ( ) skeys = settings . keys ( ) skeys . sort ( ) results = [ ] for k in skeys : results . append ( [ k , settings [ k ] ] ) t = get_template ( 'settings.tmpl' ) html = t . render ( RequestContext ( request , { 'settings' : results , 'version' : remote . extended_version ( request . session [ 'token' ] ) [ 'version' ] , 'username' : username } ) ) return HttpResponse ( html )
this page presents a list of all the settings to the user .