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?
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?