Kaydet (Commit) 4211bcb4 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Added an example to one of the FAQ answers from [132]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 364f3704
...@@ -219,7 +219,9 @@ The login cookie isn't being set correctly, because the domain of the cookie ...@@ -219,7 +219,9 @@ The login cookie isn't being set correctly, because the domain of the cookie
sent out by Django doesn't match the domain in your browser. Try these two sent out by Django doesn't match the domain in your browser. Try these two
things: things:
* Set the ``REGISTRATION_COOKIE_DOMAIN`` setting to match your domain. * Set the ``REGISTRATION_COOKIE_DOMAIN`` setting to match your domain. For
example, if you're going to "http://www.mysite.com/admin/" in your browser,
set ``REGISTRATION_COOKIE_DOMAIN = 'www.mysite.com'``.
* Some browsers (Firefox?) don't like to accept cookies from domains that don't * Some browsers (Firefox?) don't like to accept cookies from domains that don't
have dots in them. If you're running the admin site on "localhost" or another have dots in them. If you're running the admin site on "localhost" or another
domain that doesn't have a dot in it, try going to "localhost.localdomain" or domain that doesn't have a dot in it, try going to "localhost.localdomain" or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment