Hay guys, i want to use something like this
users = User.objects.all()
but i only want to return a couple of fields for each result, say 'name' and 'email'. This data is going t be turned into JSON data, and some fields in my model are sensitive.
How would i do this in django?