Commit e8ec795b authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg Committed by Luko van der Maas
Browse files

Merge branch 'fix/vacancies-expirationn-removed' into 'master'

removed check for expiration date of vacancies

Closes #917

See merge request !1348

(cherry picked from commit 8de6baf3)

33d75764 removed check for expiration date of vacancies
parent 60847b03
from random import random
from django.shortcuts import get_object_or_404, render
from django.utils import timezone
from partners.models import Partner, Vacancy, VacancyCategory
......@@ -37,8 +36,7 @@ def partner(request, slug):
def vacancies(request):
"""View to show vacancies."""
context = {
'vacancies': Vacancy.objects.exclude('?'),
'vacancies': Vacancy.objects.order_by('?'),
'categories': VacancyCategory.objects.all(),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment