1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #32301 -- Made clearsessions raise CommandError when clear_expired() is not implemented.

This commit is contained in:
François Freitag
2020-05-18 22:11:46 +02:00
committed by Mariusz Felisiak
parent 270072c4c2
commit b11ec9a69e
3 changed files with 19 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
from django.contrib.sessions.backends.base import SessionBase
class SessionStore(SessionBase):
"""Session store without support for clearing expired sessions."""
pass