display first name instead of username

This commit is contained in:
Laetitia Getti 2023-05-10 12:41:20 +02:00
parent 5075ed3f27
commit 1a1c835352

View file

@ -8,7 +8,7 @@ Bienvenue{% if user.is_authenticated %}, {{ user.username }}{% else %} !{%
{% block content %}
{% if user.is_authenticated %}
Hi {{ user.username }}!
Hi {{ user.first_name }}!
<p>
<a href="{% url 'order:index' %}">Mes commandes groupées</a>
</p>