Re: logout_redirect_url not defined

2022-09-21 Thread Ahmed Abdelmonem
You should write it this way : *'/login/'* in urls.py should be written* path('login/', etc) or index instead in your case.* On Thu, Sep 22, 2022 at 3:32 AM abdallah elassaad < elassaadabdal...@gmail.com> wrote: > can you pls help > in my "setting.py" > i add this line >

logout_redirect_url not defined

2022-09-21 Thread abdallah elassaad
can you pls help in my "setting.py" i add this line LOGOUT_REDIRECT_URL ='index' in terminal i receive this message : 'LOGOUT_REDIRECT_URL' is not defined what is missing or how i should define it -- You received this message because you are subscribed to the Google Groups "Django users"

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