#32301: Raise CommandError when clearsessions is called on a backend not
implementing clear_expired()
-------------------------------------+-------------------------------------
Reporter: Jacob | Owner: François Freitag
Walls |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: master
contrib.sessions |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Formal ticket for the issue raised by François Freitag in
[https://github.com/django/django/pull/12933 PR].
`clearsessions` writes to `stderr` directly when a backend has not
implemented `clear_expired()`. François notes that the recommended
behavior is to raise `CommandError`.
--
Ticket URL: <https://code.djangoproject.com/ticket/32301>
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/058.a83a9794ee5e998e9e6561c2c1b8d8b0%40djangoproject.com.