Replace user|username with request.user.localname

This commit is contained in:
Den McHenry 2022-05-06 10:29:25 -07:00
parent a4a06fa32c
commit 80b0206e0d

View file

@ -21,7 +21,7 @@
role="menu"
>
<li role="menuitem">
<a href="{% url 'user-feed' user|username %}" class="navbar-item">
<a href="{% url 'user-feed' request.user.localname %}" class="navbar-item">
{% trans "Profile" %}
</a>
</li>