Commit dc7dafff authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Fix vacancy page error 500

parent 49be0dd9
......@@ -37,8 +37,7 @@ def partner(request, slug):
def vacancies(request):
"""View to show vacancies."""
context = {
'vacancies': Vacancy.objects.exclude(
expiration_date__lte=timezone.now().date()).order_by('?'),
'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