Thursday, September 22, 2022

Re: logout_redirect_url not defined

Yeah it will be work.  😊

On Thu, Sep 22, 2022, 8:38 AM Ahmed Abdelmonem <ahmed.moname@gmail.com> wrote:
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 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+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.

--
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/CACM95a68Mc0u0CRUg6RC29ZMVaB1SD0f3j8wvLOPRO4oKQBvnQ%40mail.gmail.com.

No comments:

Post a Comment