Fixed admin home page for custom user models

This commit is contained in:
John-Scott Atlakson 2014-10-09 19:33:35 -04:00
parent d5d0dcc5c5
commit 6edaa095bf

View file

@ -20,7 +20,7 @@
{% endif %}
<div class="col9">
<h1>{% blocktrans %}Welcome to the {{ site_name }} Wagtail CMS{% endblocktrans %}</h1>
<h2>{{ user.get_full_name|default:user.username }}</h2>
<h2>{{ user.get_full_name|default:user.get_username }}</h2>
</div>
</div>
</header>