Use the flat=True construct of the django queryset: https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.values_list
From the example in the docs:
>>> Entry.objects.values_list('id', flat=True).order_by('id')
[1, 2, 3, ...]