def handle(self, **options):
        engine = import_module(settings.SESSION_ENGINE)
        try:
            engine.SessionStore.clear_expired()
        except __HOLE__:
            self.stderr.write("Session engine '%s' doesn't support clearing "
                              "expired sessions.\n" % settings.SESSION_ENGINE)
dataset/ETHPy150Open django/django/django/contrib/sessions/management/commands/clearsessions.py/Command.handle