[Fixed]-Django repeated data sometimes

1👍

Updated

If you really are sure that your data is valid, than calling only
on your query should fix this. I think the problem is that you are giving list of dicts after calling values on queryset, but you need to provide a queryset to ProjectTable.

model = Project.objects.only("id","name","jobNumber", "contractor", "assigned_to", "created_date").distinct()

Leave a comment