you can use the above list dropdown but use the templating engine in django

On Mon, Sep 9, 2019 at 12:00 PM Mugabi Timothy <mgbtmt...@gmail.com> wrote:

>      <li class="nav-item dropdown">
>>                     <a class="nav-link dropdown-toggle" href="
>> https://example.com"; id="dropdown01" data-toggle="dropdown"
>> aria-haspopup="true" aria-expanded="false">welcome
>> {{request.user.username}}</a>
>>                     <div class="dropdown-menu"
>> aria-labelledby="dropdown01">
>>                         <a class="dropdown-item" href="{% url
>> 'user_profile:profile' %}">Profile</a>
>>                         <div class="dropdown-divider"></div>
>>                         <a class="dropdown-item" href="{% url
>> 'account_change_password' %}">Change Password</a>
>>                         <div class="dropdown-divider"></div>
>>                         <a class="dropdown-item" href="{% url
>> 'account_logout' %}">Logout</a>
>>                     </div>
>>        </li>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADjO_C4wCAwoSsF59DDRkmm5S1qSpOANJDYzqYovS-Y_4D4q3w%40mail.gmail.com.

Reply via email to