Opened 4 years ago
Closed 4 years ago
#32301 closed Cleanup/optimization (fixed)
Raise CommandError when clearsessions is called on a backend not implementing clear_expired()
Reported by: | Jacob Walls | Owned by: | François Freitag |
---|---|---|---|
Component: | contrib.sessions | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Formal ticket for the issue raised by François Freitag in 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
.
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Note:
See TracTickets
for help on using tickets.
PR