Use get_username() instead of username property
This commit is contained in:
parent
7eede47ed6
commit
d593a496cd
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue