SessionStore attribute error

2022-09-19 Thread shiva singh
hello everyone please help how can solve this problem? this is session code:- if user.password==password and user.role=="Company": com=Company.objects.get(user_id=user) request.session['id']=user.id request.session['role']=user.role

Re: SessionStore attribute error

2022-09-19 Thread 'Kasper Laudrup' via Django users
On 20/09/2022 08.21, shiva singh wrote: hello everyone please help how can solve this problem? I suggest you ignore all the replies you've already gotten and then post the exact same question a third time. Kind regards, Kasper Laudrup -- You received this message because you are subscribed

Re: SessionStore attribute error

2022-09-20 Thread shiva singh
hello Dear Kasper Laudrup I am beginner sorry for this but my problem is not solve yet that's why I have sent my code for better solution of error I am not familiar about this file witch you are send me On Tuesday, September 20, 2022 at 12:22:12 PM UTC+5:30 Kasper Laudrup wrote: > On 20/0

Re: SessionStore attribute error

2022-09-21 Thread Basheer Olamilekan Balogun
I think this best way is to check which kind of id your are store, because the primary id by default is integer which is going to be added automatically, so in your code i can see that you specify company_id upon creation new company which i do not think you have such field in your JobDetail mod