Groups
Groups
Sign in
Groups
Groups
python-cn(华蟒用户组,CPyUG 邮件列表)
Conversations
Labels
About
Send feedback
Help
python中,字符串转实体参数
0 views
Skip to first unread message
Shuge Lee
unread,
Jun 21, 2009, 5:23:15 AM
6/21/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-cn`CPyUG`华蟒用户组(中文Py用户组)
s="""Q(name__icontains=q) |
Q(category__name__icontains=q) """
result = Seed.objects.filter(asdf(s))
->
result = Seed.objects.filter(Q(name__icontains=q) |
Q(category__name__icontains=q))
存在asdf内置函数么?
王虎
unread,
Jun 23, 2009, 11:39:02 PM
6/23/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python-cn
不是吧。type() 一下。。。
200万种商品,最低价格,疯狂诱惑你
Reply all
Reply to author
Forward
0 new messages