Hi Muhuk,

I am using django-simple-friends app, much easier to setup than django-
friends.
but need a little help and was hoping for some guidance.

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.
Do you 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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to