On Fri, 2005-08-26 at 13:33 -0500, Adrian Holovaty wrote:
> On 8/26/05, Jason F. McBrayer <[EMAIL PROTECTED]> wrote:
> > > In [1]: from django.models.engulf import feeds, users, articles, categorys
> > > In [2]: c = categorys.get_list(user_id__exact=1)
> 
> You want categorys.get_list(user__id__exact=1) -- a subtle change.
> With the new syntax, calling code never refers to the "user_id" field
> -- only to "user".

Ahah.  That's a good candidate for the change documentation there.  I've
added it to the user-contributed notes on the Wiki.

-- 
+----------------------------------------------------------------+
| Jason F. McBrayer                         [EMAIL PROTECTED]  |
|  "If you wish to make Pythocles wealthy, don't give him more   |
|   money; rather, reduce his desires."            -- Epicurus   |


Reply via email to