You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my views.py I add that code to show all friend I should to return render or what should I do exactly
and also how to linked urls, views and template together and also how can use the template that builtin in django-friendship ??
def my_view(request):
# List of this user's friends
all_friends = Friend.objects.friends(request.user)
The text was updated successfully, but these errors were encountered:
This is really a question about how to use Django in general. You should go through the official Django tutorial to get a better understanding of how models, views, and urls all interact with each other.
in my views.py I add that code to show all friend I should to return
render
or what should I do exactlyand also how to linked urls, views and template together and also how can use the template that builtin in django-friendship ??
The text was updated successfully, but these errors were encountered: