我有一个日期时间字段,可能为空,我想使用qs.order_by('field__isnull', 'name')进行排序,但是结果如下:
Join on field 'field' not permitted. Did you misspell 'isnull' for the lookup type?
这种情况有可能吗?
Join on field 'field' not permitted. Did you misspell 'isnull' for the lookup type?
这种情况有可能吗?