django-easy-friends icon indicating copy to clipboard operation
django-easy-friends copied to clipboard

error in invitations_list.html

Open yuwenhuan opened this issue 13 years ago • 1 comments

In templates\friends\invitations_list.html

{% url profile_detail username=to_user.username %}

should be

{% url profile_detail username=invitation.to_user.username %}

The same for from_user.

yuwenhuan avatar Aug 26 '12 02:08 yuwenhuan

At friends/suggestions/templates/friends/suggestions/suggested_friends.html I got:

NoReverseMatch at /friends/suggestions/suggested_friends/

Reverse for '' with arguments '()' and keyword arguments '{u'username': u'pitbulk'}' not found. 0 pattern(s) tried: []

    <li><a href="{% url profile_detail username=friend.username %}">{{ friend }}</a> (<a href="{% url friends_invite friend.username %}">{% trans "invite to friends" %}</a>)</li>
`` 

P.S I'm using Django 1.7

pitbulk avatar Apr 08 '15 11:04 pitbulk