summaryrefslogtreecommitdiff
path: root/docs/faq.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-16 22:54:05 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-16 22:54:05 +0000
commit07889c13a63eeb3e8a73f1e02a21227def3ae548 (patch)
tree04a76ba333ae0308450710f4d8e7e251948437ad /docs/faq.txt
parentf21ff30b104ef1eedcfebd230a98fef4b6cc7ebd (diff)
Fixed #1 -- Added anonymous session support via middleware and request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/faq.txt')
-rw-r--r--docs/faq.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/faq.txt b/docs/faq.txt
index e3e8ab4162..d5400dd98c 100644
--- a/docs/faq.txt
+++ b/docs/faq.txt
@@ -310,17 +310,17 @@ 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
things:
- * Set the ``REGISTRATION_COOKIE_DOMAIN`` setting in your admin config file
+ * Set the ``SESSION_COOKIE_DOMAIN`` setting in your admin config file
to match your domain. For example, if you're going to
"http://www.mysite.com/admin/" in your browser, in
- "myproject.settings.admin" you should set ``REGISTRATION_COOKIE_DOMAIN =
+ "myproject.settings.admin" you should set ``SESSION_COOKIE_DOMAIN =
'www.mysite.com'``.
* 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 domain that doesn't have a dot in it, try going to
"localhost.localdomain" or "127.0.0.1". And set
- ``REGISTRATION_COOKIE_DOMAIN`` accordingly.
+ ``SESSION_COOKIE_DOMAIN`` accordingly.
I can't log in. When I enter a valid username and password, it brings up the login page again, with a "Please enter a correct username and password" error.
-----------------------------------------------------------------------------------------------------------------------------------------------------------