Include buildup and teardown in available shifts days.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-08-05 18:48:58 +02:00
parent 86ed7a82e8
commit 88152776e3

View file

@ -68,8 +68,8 @@ def date_choices(camp):
choices = [] choices = []
current_date = camp.camp.lower.date() current_date = camp.buildup.lower.date()
while current_date != camp.camp.upper.date(): while current_date != camp.teardown.upper.date():
choices.append( choices.append(
( (
current_date, current_date,