I have the following loop:
我有以下循环:
for elem in Data.objects.filter(user=id):
variables['labels'].append(time.strftime("%H%M%S", time.localtime(elem.timestamp)))
for elemI have the following loop:
我有以下循环:
for elem in Data.objects.filter(user=id):
variables['labels'].append(time.strftime("%H%M%S", time.localtime(elem.timestamp)))
for elem