【发布时间】:2021-04-03 21:03:21
【问题描述】:
我想根据 jsonfield 中的时间字段进行过滤,但是这个字段存储为字符串,我不能使用这个查询:
Notification.objects.filter(Q(data__payload__request_visit_time__gte=timezone.now()))
【问题讨论】:
标签: django postgresql django-rest-framework django-jsonfield