How to fetch data column wise in django admin code example
Example: django command to fetch all columns of a table
table = Country.objects.values_list('name_of_the_country', 'country_code')
table = Country.objects.values_list('name_of_the_country', 'country_code')