(request,project_id,page_size)
return HttpResponse(result)
index page
index page
index page
def get_issue_more(request,project_id,page_size):
    ''' index page'''
    page_worker=ProjectIssuePageWorker(request)
    page_index=int(page_size)/10
    user_role=request.POST.get('user_role',"0")
    result=""
    if str(user_role)!="0":
        result=page_worker.get_my_issue_more(request.user.id, page_index,user_role)
    else:
        result=page_worker.get_issue_more(int(project_id),request.user.id,page_index)   
    return HttpResponse(result)
def get_issue_more ( request , project_id , page_size ) : page_worker = ProjectIssuePageWorker ( request ) page_index = int ( page_size ) / 10 user_role = request . POST . get ( 'user_role' , "0" ) result = "" if str ( user_role ) != "0" : result = page_worker . get_my_issue_more ( request . user . id , page_index , user_role ) else : result = page_worker . get_issue_more ( int ( project_id ) , request . user . id , page_index ) return HttpResponse ( result )