Add a session cleanup task
- Dominant language
- Python
- Stars
- 12
- Forks
- 21
- Avg merge
- 5d 19h
- Merged PRs (30d)
- 5
Description
**TL;DR**: Remove expired sessions from the database on a regular basis.
Note that Django [does not automatically clear expired sessions](https://docs.djangoproject.com/en/3.1/topics/http/sessions/#clearing-the-session-store) so they just accumulate in the database. We can add a Celery task ourselves or use [django-session-cleanup](https://pypi.org/project/django-session-cleanup/).
Contributor guide
Research direction
Read Django's session-clearing documentation and the django-session-cleanup package, then inspect how this repository handles Celery tasks and session storage. Done means expired sessions are removed from the database on a regular schedule, with coverage confirming the cleanup behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend, database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100