Use get_username() instead of username property

This commit is contained in:
Gabriel Augendre 2016-08-28 10:18:33 +02:00
parent 7eede47ed6
commit d593a496cd
No known key found for this signature in database
GPG key ID: D2B6A5B41FC438B1

View file

@ -28,7 +28,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
aria-expanded="false">
{% firstof user.get_full_name user.username %} <span class="caret"></span>
{% firstof user.get_full_name user.get_username %} <span class="caret"></span>
</a>
<ul class="dropdown-menu">
{% if user.is_staff %}