summaryrefslogtreecommitdiff
path: root/docs/faq/admin.txt
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-05-29 17:41:04 +0000
committerJannis Leidel <jannis@leidel.info>2011-05-29 17:41:04 +0000
commit49f57a5d28c175b24c215e6329f5fc12a5cccc34 (patch)
treec29b6833a0f3069d08a72dd2cafb025ca237ce5e /docs/faq/admin.txt
parent61da3cc47ae9f0c02fc8469f81d77dbd8b3c8961 (diff)
Fixed #15992 -- Added more references to settings. Thanks, aaugustin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/faq/admin.txt')
-rw-r--r--docs/faq/admin.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/faq/admin.txt b/docs/faq/admin.txt
index ac2e594ed2..32cea67479 100644
--- a/docs/faq/admin.txt
+++ b/docs/faq/admin.txt
@@ -8,8 +8,8 @@ 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 ``SESSION_COOKIE_DOMAIN`` setting in your admin config file
- to match your domain. For example, if you're going to
+ * Set the :setting:`SESSION_COOKIE_DOMAIN` setting in your admin config
+ file to match your domain. For example, if you're going to
"http://www.example.com/admin/" in your browser, in
"myproject.settings" you should set ``SESSION_COOKIE_DOMAIN = 'www.example.com'``.
@@ -17,7 +17,7 @@ things:
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
- ``SESSION_COOKIE_DOMAIN`` accordingly.
+ :setting:`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.
-----------------------------------------------------------------------------------------------------------------------------------------------------------