>
> However, since this change could effect people in the field, I thought I'd
> check for objections before I commit.
>
> Comments?
I think that personally it will break one or two things for me, but
it's a breakage I'm glad to deal with.
I'm consistently surprised when I try something like
Reporter.objects.filter(article=a) and it doesn't work. It seems so
much like it *should* work that I keep forgetting.
Jay P.
I'm +1 as long as looking up by ID still works as well. In my mind,
both of these should do exactly the same thing::
Article.objects.filter(author=a1)
Article.objects.filter(author__pk=a1.id)
Jacob
> ...
> Reporter.objects.filter(article=a)
>
> ...
> However, since this change could effect people in the field, I
> thought I'd check for objections before I commit.
>
> Comments?
>
> Russ Magee %-)
I'm +1 on this too. I've done it many a time, expecting it to "just
work".
Thanks!
-Tyson
Thanks Russell. This is certainly more natural.
This really should be added to the model api documentation too.
db api rather.