Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Powers committed Jan 31, 2025
1 parent bebba23 commit 1049eb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion allocations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def view_project(request, charge_code):

project = Project.objects.get(charge_code=charge_code)
is_waiting = project.allocations.filter(
status__in=["pending", "approved", "waiting"]).exists()
status__in=["pending", "approved", "waiting"]
).exists()
is_active = project.allocations.filter(status="active").exists()
furthest_allocation = project.allocations.order_by("-expiration_date").first()
data = {
Expand Down

0 comments on commit 1049eb7

Please sign in to comment.