nkeric wrote:

>hello, could anybody pls help? I don't want to write dirty sql if I
>could do it via django ORM...
>  
>
Well... The only thing I could work out is this:

articles = [a for a in g.get_article_list() if a.article_type_id == 1]

Drawbacks are obvious: it's always selects all articles for a game 
(which may be slow) and it can filter type only be id. But it can be a 
viable solution.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to