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 <elassaadabdallah@gmail.com> wrote:
can you pls helpin my "setting.py"i add this lineLOGOUT_REDIRECT_URL ='index'in terminal i receive this message :'LOGOUT_REDIRECT_URL' is not definedwhat 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+unsubscribe@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.
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+unsubscribe@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.
No comments:
Post a Comment