我们从Python开源项目中,提取了以下28个代码示例,用于说明如何使用django.conf.settings.SESSION_SERIALIZER。
def __init__(self, session_key=None): self._session_key = session_key self.accessed = False self.modified = False self.serializer = import_string(settings.SESSION_SERIALIZER)
def __init__(self, session_key=None): self._session_key = session_key self.accessed = False self.modified = False self.serializer = import_by_path(settings.SESSION_SERIALIZER)