25👍
✅
You might need to add an output_field to your annotation:
queryset = get_cinema.annotate(distance=models.Max(distation, output_field=models.FloatField()))
Source:stackexchange.com