Answers for "django pass list of fields to values"

0

django pass list of fields to values

values = ['first_name', 'email']
u = User.objects.all().values(*values)
Posted by: Guest on September-28-2020

Python Answers by Framework

Browse Popular Code Answers by Language