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 ='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" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/b49c2159-8bfb-4c9e-8491-957824af52edn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/b49c2159-8bfb-4c9e-8491-957824af52edn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPV6dzgcFp%3DG0euWKDEZsC%3DQ2M17hBmHrMiTTJdC%3DBKJFPF-mg%40mail.gmail.com.