def job_detail(request, job_id, joburl):
    try:        
        job = Job.active.get(pk=job_id, joburl=joburl)
        extra_context = {'page_type':'detail', 
               'cv_extensions': djobberbase_settings.DJOBBERBASE_CV_EXTENSIONS,
               'markup_lang': djobberbase_settings.DJOBBERBASE_MARKUP_LANGUAGE}

        # Increment views
        job.increment_view_count(request)

        # Gets poster ip
        ip = getIP(request)

        # Only if the job has online applications ON and application 
        # notifications are activated can the user apply online
        mb = minutes_between()
        if job.apply_online and djobberbase_settings.\
            DJOBBERBASE_APPLICATION_NOTIFICATIONS:

            # Add CSRF protection
            extra_context.update(csrf(request))

            # If it's a job application
            if request.method == 'POST':

                # Gets the application
                form = ApplicationForm(request.POST, 
                                       request.FILES, 
                                       applicant_data={'ip':ip, 'mb':mb})

                # If the form is OK then send it to the job poster
                if form.is_valid():
                    application_mail = MailApplyOnline(job, request)
                    application_mail.start()

                    #Save JobStat application
                    ja = JobStat(job=job, ip=ip, stat_type='A')
                    ja.save()
                    messages.add_message(request, 
                                messages.INFO, 
                                _('Your application was sent successfully.'))
                    extra_context['page_type'] = 'application'
                    queryset = Job.active.filter(joburl=joburl)
                    return object_detail(request, queryset=queryset,
                                        object_id=job_id,
                                        extra_context=extra_context)
                else:
                    extra_context['form_error'] = True 

            # Else create an empty application form
            else:
                form = ApplicationForm(applicant_data={'ip':ip, 'mb':mb})
            extra_context['apform'] = form
            extra_context['object'] = job
            return render_to_response('djobberbase/job_detail.html',
                                       extra_context,
                                       context_instance=RequestContext(request))

        # Only display the job, without an application form
        else:
            queryset = Job.active.filter(joburl=joburl)
            return object_detail(request, queryset=queryset,
                                object_id=job_id,
                                extra_context=extra_context)

    # Instead of throwing a 404 error redirect to job unavailable page 
    except Job.DoesNotExist:
        return redirect('djobberbase_job_unavailable', permanent=True)
just pass on method requests to our server
dataset/ETHPy150Open wtrevino/django-djobberbase/djobberbase/views.py/job_detail--crossover with--dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/CoordinatorMonitor.__getattr__