> 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.
* stage: Unreviewed => Accepted
Comment:
Good catch, it's obsolete since 5fec97b9df6ea075483276de159e522a29437773.
--
Ticket URL: <https://code.djangoproject.com/ticket/32829#comment:1>
* owner: nobody => Hasan Ramezani
* status: new => assigned
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/14506 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/32829#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ed3af3ff4b3cfb72de598f1b39a1028ba3826efb" ed3af3f]:
{{{
#!CommitTicketReference repository=""
revision="ed3af3ff4b3cfb72de598f1b39a1028ba3826efb"
Fixed #32829 -- Updated help text for clearsessions management command.
Obsolete since 5fec97b9df6ea075483276de159e522a29437773.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32829#comment:3>
Comment (by Baptiste Mispelon):
Thanks everyone!
--
Ticket URL: <https://code.djangoproject.com/ticket/32829#comment:4>