w.id to int(w.id)
This commit is contained in:
@@ -2069,9 +2069,9 @@ def multi_compare_view(request):
|
|||||||
yparam = chartform.cleaned_data['yparam']
|
yparam = chartform.cleaned_data['yparam']
|
||||||
plottype = chartform.cleaned_data['plottype']
|
plottype = chartform.cleaned_data['plottype']
|
||||||
teamid = chartform.cleaned_data['teamid']
|
teamid = chartform.cleaned_data['teamid']
|
||||||
ids = [w.id for w in workouts]
|
ids = [int(w.id) for w in workouts]
|
||||||
labeldict = {
|
labeldict = {
|
||||||
w.id: w.__unicode__() for w in workouts
|
int(w.id): w.__unicode__() for w in workouts
|
||||||
}
|
}
|
||||||
|
|
||||||
res = interactive_multiple_compare_chart(ids,xparam,yparam,
|
res = interactive_multiple_compare_chart(ids,xparam,yparam,
|
||||||
|
|||||||
Reference in New Issue
Block a user