title: Appropriate cookie domain for Django dev server running multiple sites
body: <p>I have multiple Django dev sites running locally like <code>http://localhost:8000</code>, <code>http://localhost:8001</code>, <code>http://localhost:8002</code>, etc.</p>
  
  <p>Originally, I had SESSION_COOKIE_DOMAIN and CSRF_COOKIE_DOMAIN set to '' or <code>127.0.0.1</code> but this causes each site to overwrite the other's cookies, causing me to have to login every time I switch between sites. I tried using <code>127.0.0.1:&lt;port&gt;</code> but that had no effect.</p>
  
  <p>How do I get these sites to use separate cookies?</p>