adding fast and slow pace ranges
This commit is contained in:
@@ -241,6 +241,10 @@ def rower_favoritecharts_view(request,userid=0):
|
||||
staticchartform = StaticChartRowerForm(request.POST,instance=r)
|
||||
if staticchartform.is_valid():
|
||||
r.staticgrids = staticchartform.cleaned_data.get('staticgrids')
|
||||
r.slowpaceerg = staticchartform.cleaned_data.get('slowpaceerg')
|
||||
r.fastpaceerg = staticchartform.cleaned_data.get('fastpaceerg')
|
||||
r.slowpaceotw = staticchartform.cleaned_data.get('slowpaceotw')
|
||||
r.fastpaceotw = staticchartform.cleaned_data.get('fastpaceotw')
|
||||
r.save()
|
||||
|
||||
if request.method == 'POST' and 'form-TOTAL_FORMS' in request.POST:
|
||||
|
||||
Reference in New Issue
Block a user