Private
Public Access
1
0

adding fav_analysis and 2 forms to change it

This commit is contained in:
Sander Roosendaal
2020-11-04 18:54:08 +01:00
parent c205dcc681
commit f6248947f6
2 changed files with 17 additions and 1 deletions

View File

@@ -246,6 +246,7 @@ def rower_favoritecharts_view(request,userid=0):
r.slowpaceotw = staticchartform.cleaned_data.get('slowpaceotw')
r.fastpaceotw = staticchartform.cleaned_data.get('fastpaceotw')
r.staticchartonupload = staticchartform.cleaned_data.get('staticchartonupload')
r.fav_analysis = staticchartform.cleaned_data.get('fav_analysis')
r.save()
if request.method == 'POST' and 'form-TOTAL_FORMS' in request.POST: