[Answered ]-Request.user.first_name does not working in django

1👍

This is silly! The problem was I didn’t set the user’s firstname!
But the second problem is still happening!

👤Mohib

1👍

i had same issue, but after some research, i found this solution
so try to edit the variable from {{ request.user.first_name }} TO {{ request.user.username}}, so is username not firstname.

👤rachid

Leave a comment