Re: counting issue i use mongodb why show always 0

2024-02-19 Thread Shivam Kumar
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

Re: counting issue i use mongodb why show always 0

2024-02-19 Thread ABDUL HAFEEZ
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

Re: counting issue i use mongodb why show always 0

2024-02-19 Thread Muhammad Juwaini Abdul Rahman
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