title: Django, how to see session data in the admin interface
body: <p>I'm using <a href="http://docs.djangoproject.com/en/1.2/topics/http/sessions/">Django sessions</a> and I would like a way of seeing the session data in the admin interface. Is this possible?</p>
  
  <p>I.e. for each session I want to see the data stored in the session database (which is essentially a dictionary as far as I can gather).</p>
  
  <p>Currently I can just see a hash in the <code>Session data</code> field, such as:</p>
  
  <pre><code>gAJ9cQEoVQ5zb3J0aW5nX2Nob2ljZXECVQJQT3EDVQxnYW1lc19wbGF5ZWRxBH1xBVgLAAAAcG9z
  dG1hbi1wYXRxBksDc1UKaXBfYWRkcmVzc3EHVQkxMjcuMC4wLjFxCFUKdGVzdGNvb2tpZXEJVQZ3
  b3JrZWRxClUKZ2FtZV92b3Rlc3ELfXEMdS4wOGJlMDY3YWI0ZmU0ODBmOGZlOTczZTUwYmYwYjE5
  OA==
  </code></pre>
  
  <p><br /></p>
  
  <p>I have put the following into admin.py to achieve this:</p>
  
  <pre><code>from django.contrib.sessions.models import Session
  ...
  admin.site.register(Session)
  </code></pre>
  
  <p><br /></p>
  
  <p>In particular I was hoping to be able to see at least an IP address for each session. (Would be nice too if I could count how many sessions per IP address and order the IPs based on number of sessions in total for each.)</p>
  
  <p>Thank you for your help :-)</p>