(self, **options)
| 11 | ) |
| 12 | |
| 13 | def handle(self, **options): |
| 14 | engine = import_module(settings.SESSION_ENGINE) |
| 15 | try: |
| 16 | engine.SessionStore.clear_expired() |
| 17 | except NotImplementedError: |
| 18 | raise CommandError( |
| 19 | "Session engine '%s' doesn't support clearing expired " |
| 20 | "sessions." % settings.SESSION_ENGINE |
| 21 | ) |
nothing calls this directly
no test coverage detected