예제 #1
0
파일: views.py 프로젝트: TheTypoMaster/monk
def dashboard(request):
    cases = applicationcase.get_application_cases_by_uid(request.user.id)
    jobs = job.get_jobs_by_user(request.user.id)
    return render_to_response(
            'recruiter_home.html',
            {'cases': cases,
             'jobs': jobs},
            context_instance=RequestContext(request))
예제 #2
0
파일: views.py 프로젝트: TheTypoMaster/monk
def list_jobs(request):
    jobs = []
    try:
        jobs = job.get_jobs_by_user(request.user.id)
    except Exception as ex:
        print ex
        pass
    return render_to_response(
            'list_jobs.html',
            {'jobs': jobs},
            context_instance=RequestContext(request))