django-easy-friends
django-easy-friends copied to clipboard
error in invitations_list.html
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.
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