Kaydet (Commit) 364f3704 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Added two admin login-related questions to the FAQ

git-svn-id: http://code.djangoproject.com/svn/django/trunk@132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 2b681e92
......@@ -209,8 +209,28 @@ but we recognize that choosing a template language runs close to religion.
There's nothing about Django that requires using the template language, so
if you're attached to ZPT, Cheetah, or whatever, feel free to use those.
The admin interface
===================
The admin site
==============
I can't log in. When I enter a valid username and password, it just brings up the login page again, with no error messages.
---------------------------------------------------------------------------------------------------------------------------
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 to match your domain.
* 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.
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.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
If you're sure your username and password are correct, make sure your user
account has ``is_active`` and ``is_staff`` set to True. The admin site only
allows access to users with those two fields both set to True.
The dynamically-generated admin site is ugly! How can I change it?
------------------------------------------------------------------
......
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