Private
Public Access
1
0

bug fix in fav chart formset processing

This commit is contained in:
Sander Roosendaal
2017-10-25 17:51:31 +02:00
parent 13bb60d8ec
commit 8778ee7106

View File

@@ -8527,11 +8527,13 @@ def rower_favoritecharts_view(request):
plottype = favorites_form.cleaned_data.get('plottype') plottype = favorites_form.cleaned_data.get('plottype')
workouttype = favorites_form.cleaned_data.get('workouttype') workouttype = favorites_form.cleaned_data.get('workouttype')
reststrokes = favorites_form.cleaned_data.get('reststrokes') reststrokes = favorites_form.cleaned_data.get('reststrokes')
notes = favorites_form.cleaned_data.get('notes')
new_instances.append(FavoriteChart(user=r, new_instances.append(FavoriteChart(user=r,
yparam1=yparam1, yparam1=yparam1,
yparam2=yparam2, yparam2=yparam2,
xparam=xparam, xparam=xparam,
plottype=plottype, plottype=plottype,
notes=notes,
workouttype=workouttype, workouttype=workouttype,
reststrokes=reststrokes)) reststrokes=reststrokes))
try: try: