1
0
mirror of https://github.com/django/django.git synced 2025-03-26 01:00:46 +00:00

[1.10.x] Fixed #26894 -- Fixed a typo in docs/faq/admin.txt

Backport of a11719047711d8031dcea6a71cc5972b9ec1d48f from master
This commit is contained in:
Tim Graham 2016-07-14 08:02:11 -04:00
parent 8c385b7697
commit 3b92272c55

View File

@ -6,13 +6,10 @@ I can't log in. When I enter a valid username and password, it just brings up th
=========================================================================================================================== ===========================================================================================================================
The login cookie isn't being set correctly, because the domain of the cookie 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 setting the
things: :setting:`SESSION_COOKIE_DOMAIN` setting to match your domain. For example, if
you're going to "https://www.example.com/admin/" in your browser, set
* Set the :setting:`SESSION_COOKIE_DOMAIN` setting in your admin config ``SESSION_COOKIE_DOMAIN = 'www.example.com'``.
file to match your domain. For example, if you're going to
"https://www.example.com/admin/" in your browser, in "myproject.settings" you
should set :setting:`SESSION_COOKIE_DOMAIN` = 'www.example.com'.
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. 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.
=========================================================================================================================================================== ===========================================================================================================================================================