I often want to grab one field from one table. So I do this:
tmp = my_model.objects.get(pk=5) //Or some other record...
myVar = tmp.myField
Now myVar holds the value I want. This two step process is annoying. Is there a one step way of doing this?
Thanks
1 Answer