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">
|
<li class="dropdown">
|
||||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
|
||||||
aria-expanded="false">
|
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>
|
</a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
{% if user.is_staff %}
|
{% if user.is_staff %}
|
||||||
|
|
Loading…
Reference in a new issue