Re: session id attribute error

2022-09-19 Thread Mohammad Ehsan Ansari
Hi SessionStore is a model class? if yes you can use pk instant of id On Monday, 19 September 2022 at 22:48:02 UTC+5:30 aashishk...@gmail.com wrote: > Do this > > request.session.get(‘id’) > > On Mon, 19 Sep 2022 at 1:30 PM, shiva singh wrote: > >> hello everyone please help me how can solve

Re: session id attribute error

2022-09-19 Thread Aashish Kumar
Do this request.session.get(‘id’) On Mon, 19 Sep 2022 at 1:30 PM, shiva singh wrote: > hello everyone please help me how can solve this problem:-[image: > image.jpeg] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

Re: session id attribute error

2022-09-19 Thread Muhammad Juwaini Abdul Rahman
That was user, so probably you need request.user.id, not session. On Mon, 19 Sept 2022 at 16:00, shiva singh wrote: > hello everyone please help me how can solve this problem:-[image: > image.jpeg] > > -- > You received this message because you are subscribed to the Google Groups > "Django users

session id attribute error

2022-09-19 Thread shiva singh
hello everyone please help me how can solve this problem:-[image: image.jpeg] -- 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-users+unsubscr...@googlegr