Skip to content

Commit

Permalink
Actually remove club applications from the cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
julianweng committed Feb 3, 2025
1 parent f5cf72d commit 3c7ec78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/clubs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6540,6 +6540,11 @@ def edit_clubs(self, *args, **kwargs):
end = cycle.end_date
release = cycle.release_date

# Remove cycle for club applications from non-included clubs
ClubApplication.objects.filter(application_cycle=cycle).exclude(
club__code__in=club_codes
).update(application_cycle=None)

# Some apps need to be created - use the default Wharton Template
prompt_one = (
"Tell us about a time you took " "initiative or demonstrated leadership"
Expand Down

0 comments on commit 3c7ec78

Please sign in to comment.