Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
from django.db.models import Max
query = Target.objects.aggregate(max_radius=Max("radius_in_mts"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment