On 1/25/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 1/25/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > Is anyone planning on tackling the descriptor fields proposal anytime > > soon? If not, I can give it a shot. > > I was planning on starting this last night but got wrapped up in other > stuff. I'd like to start on it myself later this evening. > > > MyModel.objects.filter(creator__exact=5) > > for obj in MyModel.objects: > > print obj > > If managers behaved like that, how would one do the equivalent of > get_object()?
Probably just MyModel.objects.get(1) where the first arg is assumed to be the pk. You could also pass in slug__exact='test' or whatever. Joseph