from django.shortcuts import render, get_object_or_404
from .models import Jobs
# Create your views here.


def home(request):
    jobs = Jobs.objects
    return render(request, 'jobs/home.html', {'jobs':jobs})

def detail(requst, job_id):
    job_detail = get_object_or_404(Jobs, pk=job_id)
    return render(requst, 'jobs/detail.html', {'job':job_detail})


5780ea3ca27aa4cc60c26440032d2d4dfe0a73f7
<mask token>

<mask token>


def detail(requst, job_id):
    job_detail = get_object_or_404(Jobs, pk=job_id)
    return render(requst, 'jobs/detail.html', {'job': job_detail})

<mask token>


def home(request):
    jobs = Jobs.objects
    return render(request, 'jobs/home.html', {'jobs': jobs})


def detail(requst, job_id):
    job_detail = get_object_or_404(Jobs, pk=job_id)
    return render(requst, 'jobs/detail.html', {'job': job_detail})

from django.shortcuts import render, get_object_or_404
from .models import Jobs


def home(request):
    jobs = Jobs.objects
    return render(request, 'jobs/home.html', {'jobs': jobs})


def detail(requst, job_id):
    job_detail = get_object_or_404(Jobs, pk=job_id)
    return render(requst, 'jobs/detail.html', {'job': job_detail})

from django.shortcuts import render, get_object_or_404
from .models import Jobs
# Create your views here.


def home(request):
    jobs = Jobs.objects
    return render(request, 'jobs/home.html', {'jobs':jobs})

def detail(requst, job_id):
    job_detail = get_object_or_404(Jobs, pk=job_id)
    return render(requst, 'jobs/detail.html', {'job':job_detail})

