'Show only approved jobs to the public, staff can see all jobs'

def get_object(self, queryset=None):

    try:
        job = Job.objects.select_related().get(pk=self.kwargs['pk'])
    except Job.DoesNotExist:
        raise Http404('No    Job    with    PK#{}    found.'.format(self.kwargs['pk']))
    if ((job.creator == self.request.user) and job.editable):
        return job
    if self.request.user.is_staff:
        return job
    return None
