title: How do I find the memory address of a Python / Django model object?
body: <p>An ordinary object, I can use </p>
  
  <pre><code>o.__repr__() 
  </code></pre>
  
  <p>to see something like </p>
  
  <pre><code>'&lt;__main__.A object at 0x9d78fec&gt;'
  </code></pre>
  
  <p>But, say, a Django User just returns </p>
  
  <pre><code>&lt;User:bob&gt;
  </code></pre>
  
  <p>How can I see the actual address of one of these, or compare whether two such model-objects are actually the same object or not?</p>