Ivan Sagalaev wrote:
> 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]

Ivan, thanks a lot for your reply :)
well, I guess I have to take the "dirty" sql approach :p

Regards,

- Eric


--~--~---------~--~----~------------~-------~--~----~
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