예제 #1
0
def bookmarks(request):
    requester = AuroraAuthenticationBackend.get_user(
        AuroraAuthenticationBackend(), request.user.id)
    comment_list = Comment.query_bookmarks(requester)
    template = 'Comments/bookmarks_list.html'
    return render_to_response(template, {'comment_list': comment_list},
                              context_instance=RequestContext(request))
예제 #2
0
파일: views.py 프로젝트: bobschi/aurora
def bookmarks(request):
    requester = RequestContext(request)['user']
    comment_list = Comment.query_bookmarks(requester)
    template = 'Comments/bookmarks_list.html'
    return render_to_response(template, {'comment_list': comment_list}, context_instance=RequestContext(request))
예제 #3
0
파일: views.py 프로젝트: martflu/aurora
def bookmarks(request):
    requester = AuroraAuthenticationBackend.get_user(AuroraAuthenticationBackend(), request.user.id)
    comment_list = Comment.query_bookmarks(requester)
    template = 'Comments/bookmarks_list.html'
    return render_to_response(template, {'comment_list': comment_list}, context_instance=RequestContext(request))
예제 #4
0
def bookmarks(request):
    requester = RequestContext(request)['user']
    comment_list = Comment.query_bookmarks(requester)
    template = 'Comments/bookmarks_list.html'
    return render_to_response(template, {'comment_list': comment_list},
                              context_instance=RequestContext(request))