Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in invitations_list.html #2

Open
yuwenhuan opened this issue Aug 26, 2012 · 1 comment
Open

error in invitations_list.html #2

yuwenhuan opened this issue Aug 26, 2012 · 1 comment

Comments

@yuwenhuan
Copy link

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.

@pitbulk
Copy link

pitbulk commented Apr 8, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants