Consider the following Django model:
class SomeModel(models.Model):
some_var = models.IntergerField()
Whats the best way to get an array of a models parameters from a search results?
Example (not working of course):
a = SomeModel.objects.all().some_var
would give something like [3, 4, 1, 9, 1, 2]