Django Authentication Information
function is_authenticated() -> doesn't imply any permission, group or user active. It's just indicate user has provide valid name and user. --- function authenticate() -> authenticate a given username and password (or something) and return user object if password is valid for the given username, return None if not. --- function login() -> to log user to view. It takes an HttpRequest object and user object and save user's id in the session, using django's session framework and session middleware. --- more issues you can use custom authentication module with modified authenticate function, which can authenticate with other credential (not just username, password)