Use is_seen=False instead of is_seen__in=[False]
On Mon, Feb 19, 2024, 3:00 PM Armaan Alam wrote:
> queryset = Notification.objects.filter(is_seen__in=[False]).count()
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from
can you show model notification?
On Monday, February 19, 2024 at 2:30:14 PM UTC+5 Armaan Alam wrote:
> queryset = Notification.objects.filter(is_seen__in=[False]).count()
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from th
How do you connect django to mongodb?
On Mon, 19 Feb 2024 at 17:29, Armaan Alam wrote:
> queryset = Notification.objects.filter(is_seen__in=[False]).count()
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group
3 matches
Mail list logo