def check_config_ajax(request):
 if (not request.user.is_superuser):
  return HttpResponse('')
 error_list = _get_config_errors(request)
 if (not error_list):
  return HttpResponse('')
 return render('config_alert_dock.mako', request, dict(error_list=error_list), force_template=True)

def check_config_ajax ( request ) : if ( not request . user . is_superuser ) : return HttpResponse ( '' ) error_list = _get_config_errors ( request ) if ( not error_list ) : return HttpResponse ( '' ) return render ( 'config_alert_dock.mako' , request , dict ( error_list = error_list ) , force_template = True )
alert administrators about configuration problems .