diff --git a/src/teams/views/shifts.py b/src/teams/views/shifts.py index 17d41bdd..0a3d3694 100644 --- a/src/teams/views/shifts.py +++ b/src/teams/views/shifts.py @@ -68,8 +68,8 @@ def date_choices(camp): choices = [] - current_date = camp.camp.lower.date() - while current_date != camp.camp.upper.date(): + current_date = camp.buildup.lower.date() + while current_date != camp.teardown.upper.date(): choices.append( ( current_date,