title: Get device name python
body: <p>How can I get the device name on deployed app with python?</p>
  
  <p>I've already tried socket.gethostname() and platform.node() , but both are returning the machine name where the app is deployed , not the machine from where the app is reached.</p>
  
  <p>The app is deployed on Heroku.</p>
  
  <pre class="lang-py prettyprint-override"><code>def sessions():
     userName = platform.node()
  </code></pre>
  
  <p>I've expected the userName to be for ex. <code>'Jonh-ThinkPad-A485'</code> , but the userName is <code>'046ee322-ee28-4a25-b789-ef005ac0e172'</code></p>