Re: user visit count

2020-04-16 Thread Motaz Hejaze
Great On Thu, 16 Apr 2020, 6:53 am shreehari Vaasistha L, wrote: > Done > > On Wednesday, April 15, 2020 at 6:55:37 PM UTC+5:30, Motaz Hejaze wrote: >> >> no standard for this , but thinking out loud with you .. >> >> you can make a many to many model ( table ) of 3 columns , first column >> wil

Re: user visit count

2020-04-15 Thread shreehari Vaasistha L
Done On Wednesday, April 15, 2020 at 6:55:37 PM UTC+5:30, Motaz Hejaze wrote: > > no standard for this , but thinking out loud with you .. > > you can make a many to many model ( table ) of 3 columns , first column > will be user id , second column will be object id , third column will be > numb

Re: user visit count

2020-04-15 Thread shreehari Vaasistha L
cool man i was trying exactly the same thing... if you try to get it work then post it here please. On Wednesday, April 15, 2020 at 6:55:37 PM UTC+5:30, Motaz Hejaze wrote: > > no standard for this , but thinking out loud with you .. > > you can make a many to many model ( table ) of 3 columns ,

Re: user visit count

2020-04-15 Thread Motaz Hejaze
no standard for this , but thinking out loud with you .. you can make a many to many model ( table ) of 3 columns , first column will be user id , second column will be object id , third column will be number of visits ( integer initial value 0 ) , every time the object view is called you'll que

Re: user visit count

2020-04-15 Thread shreehari Vaasistha L
Thank you! But can there be any simple implementation as i just want to count number of times a user has viewed a post On Wednesday, April 15, 2020 at 5:48:36 PM UTC+5:30, Tim Wilson wrote: > > I'm planning to use django-hitcount too, but please be aware that it's not > yet compatible with Djang

Re: user visit count

2020-04-15 Thread shreehari Vaasistha L
I'm using django 3.x. Anyother simple implementation ? i just want to get number of times a particular user has viewed an object. On Wednesday, April 15, 2020 at 5:48:36 PM UTC+5:30, Tim Wilson wrote: > > I'm planning to use django-hitcount too, but please be aware that it's not > yet compatible

Re: user visit count

2020-04-15 Thread Tim Wilson
I'm planning to use django-hitcount too, but please be aware that it's not yet compatible with Django 3.x. There's a patch that needs to be applied and a release forthcoming that should take care of it. -Tim On Wed, Apr 15, 2020, at 4:38 AM, Omkar Parab wrote: > Django hit count package will he

Re: user visit count

2020-04-15 Thread Omkar Parab
Django hit count package will help you.. On Wed, Apr 15, 2020, 1:09 PM shreehari Vaasistha L wrote: > how can i get the number of views of an endpoint by a single user. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe fro