django.contrib.auth.models.AnonymousUser to User
<p>I need to get the user info but I only have <code>request.user</code> which gives me a <code>django.contrib.auth.models.AnonymousUser</code>. I know that AnonymousUser's id, username, ... are empty. How can I get the User's info?</p>