Moved cleanup management command to contrib.sessions.
Moved session clean up to django.session.contrib
Hi, the PR isn't mergeable currently and please make sure to address @ptone 's comments on the ticket (tests etc…)
Merge branch 'master' into 18978
Fixed bin/daily_cleanup.py command
Updated docs for Sessions
Added tests for cleansessions command
It's there. Documentation and simple test.
Added cleanup classmethod to SessionBase
Thanks for working on this pull request.
In order to make your work easier to merge, I'm going to split it in two patches, one for ticket 18978 and one for ticket 18194.
The patch for 18978 is probably very close to ready for checkin.