我有一个包含许多CharField的模型,其中包含选项选项,例如
MULTIPLE_BUSINESS_TYPE_ACTIVE = "MULTIBUS"
FACILITY_SUSPENDED_OR_REVOKED_OR_OOB = "LOCKEDFAC"
LOCKED_STATUS_CHOICES = (
(MULTIPLE_BUSINESS_TYPE_ACTIVE, "The facility was found to "
"be active for multiple business types"),
(FACILITY_SUSPENDED_OR_REVOKED_OR_OOB, "The facility was found to
be revoked, suspended ")
)
因此,当用户键入
多种业务类型
我应该获得所有锁定状态为MULTIBUS
的结果
这可能吗?