2👍
✅
Here is how you do it:
fields = ['first_name', 'last_name', 'email']
User.objects.values(*fields)
Source:stackexchange.com
2👍
Here is how you do it:
fields = ['first_name', 'last_name', 'email']
User.objects.values(*fields)