Skip to content

Commit

Permalink
Merge branch 'master' of github.com:armada-ths/ais
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Aug 6, 2024
2 parents 5c5e347 + edd1d5b commit 3f64f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exhibitors/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def serialize_exhibitor(exhibitor, request):
)


@cache_page(60 * 5)
@cache_page(60)
def exhibitors(request):
fair_criteria = (
{"year": request.GET["year"]} if "year" in request.GET else {"current": True}
Expand All @@ -161,7 +161,7 @@ def exhibitors(request):
exhibitors = (
Exhibitor.objects.filter(
fair__in=Fair.objects.filter(**fair_criteria),
application_status="accepted",
application_status="1", # Accepted
)
.select_related(
"company",
Expand Down

0 comments on commit 3f64f5c

Please sign in to comment.