mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-10 18:10:58 +00:00
Fixed admin home page for custom user models
This commit is contained in:
parent
d5d0dcc5c5
commit
6edaa095bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue