We could use django ORM's "values" method to use an SQL select: https://docs.djangoproject.com/en/dev/ref/models/querysets/#values