<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

 <title>Dave Dash</title>
 <link href="http://davedash.com/tag/cookies/atom.xml" rel="self"/>
 <link href="http://davedash.com/tag/cookies"/>
 <updated>2012-04-07T22:42:44-07:00</updated>
 <id>http://davedash.com/</id>
 <author>
   <name>Dave Dash</name>
   <email>dd+atom1@davedash.com</email>
 </author>

 
 <entry>
   <title>Django Admin and Cookies</title>
   <link href="http://davedash.com/2008/11/15/django-admin-and-cookies/"/>
   <updated>2008-11-15T00:00:00-08:00</updated>
   <id>http://davedash.com/2008/11/15/django-admin-and-cookies</id>
   <content type="html">&lt;p&gt;I was dusting off an old Django project and everything was working except the admin site:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Looks like your browser isn't configured to accept cookies. Please enable cookies, reload this page, and try again.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The culprit was &lt;code&gt;SESSION_COOKIE_DOMAIN = &quot;onyxfoundation.org&quot;&lt;/code&gt; being set.&lt;/p&gt;

&lt;p&gt;The project wasn't loading into Development mode (it's triggered by hostname) so it set the cookie domain to what I require in production.  Once remedied, everything worked as expected.&lt;/p&gt;
</content>
 </entry>
 

</feed>

