Private
Public Access
1
0

added manual and upload links to race page

This commit is contained in:
Sander Roosendaal
2018-12-02 12:26:21 +01:00
parent 73b8941825
commit 2178a25db3
5 changed files with 87 additions and 3 deletions

View File

@@ -2690,7 +2690,7 @@ class WorkoutForm(ModelForm):
startdate__lte=workout.date,
enddate__gte=workout.date,
).order_by("preferreddate","startdate","enddate").exclude(
sessiontype='race')
sessiontype__in=['race','indoorrace'])
if not sps:
del self.fields['plannedsession']