I need to get the username to show it in
<li>
<a tabindex="-1" href="base_pages_profile.html">
<i class="si si-user pull-right"></i>
<span class="badge badge-success pull-right"></span>USERNAME
</a>
</li>
I have tried using request.user.username and request.get_username and this does not work, is there any other way to this?