Use reverse lookups for urls
This commit is contained in:
parent
33ec315fbf
commit
748810cd41
18 changed files with 42 additions and 35 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
{% block dropdown-list %}
|
||||
<li role="menuitem">
|
||||
<a href="/direct-messages/{{ user|username }}" class="button is-fullwidth is-small">{% trans "Send direct message" %}</a>
|
||||
<a href="{% url 'direct-messages-user' user|username %}" class="button is-fullwidth is-small">{% trans "Send direct message" %}</a>
|
||||
</li>
|
||||
<li role="menuitem">
|
||||
{% include 'snippets/report_button.html' with user=user class="is-fullwidth" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue