Django user logged out

I have been using Django for my application for quite some time. I have a problem when users log out suddenly.

Users enter information using the administrator model to enter information in the text area (using Django MarkitUp), when they click the "Save" button, they are redirected to the login page.

My session lasts 2 weeks (1209600), and users logged in on the same day before entering information in the text box.

+4
source share
1 answer

Are you sure your redirect URL matches your session-related settings ?

0

Source: https://habr.com/ru/post/1538447/


All Articles