#32829: clearsessions help text is incorrect
------------------------------------------------+------------------------
Reporter: Baptiste Mispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.sessions | Version: 3.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
The `--help` text for the `clearsessions` command states:
> Can be run as a cronjob or directly to clean out expired sessions (only
with the database backend at the moment).
But looking at the backends, several of them (not just the `database` one)
implement the `clear_expired()` method used by that command.
I would suggest the following replacement:
> Can be run as a cronjob or directly to clean out expired sessions when
the backend supports it.
--
Ticket URL: <https://code.djangoproject.com/ticket/32829>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.a59d9505c37be6eddb57e472de19fdb4%40djangoproject.com.