get_expiry_age does not use expire_date column.

20 views
Skip to first unread message

Shen Li

unread,
Feb 4, 2019, 12:59:16 PM2/4/19
to Django users
Hi community,

I find it strange that in the DB session backend, the get_expiry_age does not actually use the value from expire_data column in the model.

What is the indention of this design?

Thank you!

Tim Graham

unread,
Feb 5, 2019, 6:55:50 PM2/5/19
to Django users
Hi Shen, I haven't looked into this much but https://code.djangoproject.com/ticket/19201 could be related. Feel free to offer a patch to improve the situation.
Reply all
Reply to author
Forward
0 new messages