1👍
✅
You need to concatenate the items in the tuple:
tStartEnd = APIHistory.objects.values_list('status_start','status_end')
codereview = [item for q in tStartEnd for item in q]
This will thus enumerate over the records q
in the queryset, and over the items in the tuple that 1
presents.
Source:stackexchange.com