Re: how to display group and create user permission in templates?

2024-02-20 Thread ABDUL HAFEEZ
much appreciated On Tuesday, February 20, 2024 at 7:55:47 AM UTC+5 Ryan Nowakowski wrote: > On Mon, Feb 19, 2024 at 02:16:29AM -0800, ABDUL HAFEEZ wrote: > > Hell all how to display *createsuperuser *and there permission in > *templates > > *instead of admin dashbo

how to display group and create user permission in templates?

2024-02-19 Thread ABDUL HAFEEZ
Hell all how to display *createsuperuser *and there permission in *templates *instead of admin dashboard -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django

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

login with token instead of password

2024-01-16 Thread ABDUL HAFEEZ
example: I have a model with fields username and password when users create account there credentials saved in db next I want that *instead of login with password I want create token *so he can login with token not password what should I do please provide me logic steps if someone have done