Hi,
I am using django-simple-friends app and was hoping you would give me
some guidance.
http://github.com/muhuk/django-simple-friends
I have set up friends_list.html no problem:
<h2>Friend List</h2>
Friends for {{ user }}<br />
<ul>
{% for friends in friends_list %}
<li>{{ friends.username }}</li>
{% endfor %}
</ul>
and understand how to send friend request via url:
http://127.0.0.1:8000/friends/add/jim
but I am having problems listing friend requests:
{{ friendship_requests.incoming }} spits out (below) and I coudn't
work how to remove the [< >]
or access the User sending the friend request.
[<FriendshipRequest: jo wants to be friends with admin>]
So I figured this is wrong to do it.
So I tried templatetags:
{% load friends_tags %}
{% add_to_friends 3 %}
which works, and redirects to _add_to.html
which I'm guessing should have a message like You have made a friend
request to User _____
don't know how to get User being sent to.
Does anyone have a working example or can you help me clear up these
issues. Thanks for your help
Sincerely,
JusinJools
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.