title: Cross-subdomain Admin login with login sharing
body: <p>I have a sites with two subdomains</p>
  
  <ul>
  <li>www.example.com</li>
  <li>test.example.com</li>
  </ul>
  
  <p>Both talk to same DB. However both are separate code bases.</p>
  
  <p>I want a Admin login to persist between the two sites. (If you
  are logged in to www, you are automatically logged in to test and vice versa)</p>
  
  <p>I have these settings in <code>settings.py</code></p>
  
  <pre><code>CSRF_COOKIE_DOMAIN = SESSION_COOKIE_DOMAIN = ".example.com"
  SECRET_KEY ="theeisnospoonblahblah"
  </code></pre>
  
  <p>The Admins seems to be talking, but in a weird way. </p>
  
  <p>If I go to www.example.com and am logged into Admin, if I go to test.example.com, instead of being logged in to test.example.com admin,</p>
  
  <p>I am automatically logged out of www.example.com .</p>
  
  <p>Am I missing a settings in <code>settings.py</code></p>