Skip to content

Get the current logged user in the template #605

@tcosta84

Description

@tcosta84

I'm trying to get the current user object in my templates after successfully logging in with Twitter but it's not working.

Here's what I'm trying to do in my templates:

Welcome, {{ request.user.first_name }}

I already have the "django.core.context_processors.request" on TEMPLATE_CONTEXT_PROCESSORS. I have already tested with no success putting it before and after:
'social.apps.django_app.context_processors.backends',
'social.apps.django_app.context_processors.login_redirect',

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions