added age verification and improvements on plannedsession
This commit is contained in:
@@ -914,8 +914,8 @@ class PlannedSessionForm(ModelForm):
|
||||
|
||||
widgets = {
|
||||
'comment': forms.Textarea,
|
||||
'startdate': DateInput(),
|
||||
'enddate': DateInput(),
|
||||
'startdate': AdminDateWidget(),
|
||||
'enddate': AdminDateWidget(),
|
||||
}
|
||||
|
||||
|
||||
@@ -1164,7 +1164,7 @@ class WorkoutForm(ModelForm):
|
||||
model = Workout
|
||||
fields = ['name','date','starttime','timezone','duration','distance','workouttype','notes','privacy','rankingpiece','boattype']
|
||||
widgets = {
|
||||
'date': DateInput(),
|
||||
'date': AdminDateWidget(),
|
||||
'notes': forms.Textarea,
|
||||
'duration': forms.TimeInput(format='%H:%M:%S.%f'),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user