(request)
return render(request, template_name="user_bookmarks.html", context=context)
Show posts bookmarked by user.
Show posts bookmarked by user.
Show posts bookmarked by user .
def bookmarks(request):
    """
    Show posts bookmarked by user.
    """

    posts = post_list(request, topic=BOOKMARKS, ordering=VOTE_DATE)

    # Order by vote date.
    context = dict(posts=posts, topic=BOOKMARKS, tab=BOOKMARKS)
    return render(request, template_name="user_bookmarks.html", context=context)
def bookmarks ( request ) : posts = post_list ( request , topic = BOOKMARKS , ordering = VOTE_DATE ) # Order by vote date. context = dict ( posts = posts , topic = BOOKMARKS , tab = BOOKMARKS ) return render ( request , template_name = "user_bookmarks.html" , context = context )