hello there the "'REDIRECT_TO_LOGIN_IMMEDIATELY': True," dont working
its working if i press refresh whit mouse but it wont refresh and send user to login page automaticly and i write it inisde of two diffrent project and its still lacking about that problem here is my config about AUTO_LOGOUT
from datetime import timedelta
AUTO_LOGOUT = { 'IDLE_TIME': timedelta(minutes=1), 'SESSION_TIME': timedelta(minutes=2), 'REDIRECT_TO':'login', 'MESSAGE': 'The session has expired. Please login again to continue.', 'REDIRECT_TO_LOGIN_IMMEDIATELY': True, }
i add it into middleware i add it into context processor i have {{ redirect_to_login_immediately }} in my page but its still causing a stir and i cant find a way for solving this problem
is it possible to have error because i use jinja style templates like {%extend%} and {%include%} in a few page like in my layout i have {%include%} and in index (for example) {%extends%} is it possible to create a problem because of this connections thanks for the answer have a great day
Sorry for late. Health issues. Can you give me tests - i'll fix it.
sorry for late but i dont have any test im newbie so i dont know how it make this error