2012-08-29 7 views

답변

2

Q object을 사용하고 한 줄로 쿼리 할 수 ​​있습니다.

from django.db.models import Q 
accounts = Account.objects.filter(Q(some query) | Q(some other query)) 
관련 문제