2010-11-24 27 views

回答

9

只使用了Q對象而不是字典。

limit_choices_to = ~models.Q(status__in = ['xxxxxx'])) 
相關問題