mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 21:14:49 +08:00
21 lines
613 B
Python
21 lines
613 B
Python
from typing import Any, Optional, Type
|
|
|
|
from django.contrib.sessions.backends.db import SessionStore
|
|
from django.contrib.sessions.base_session import AbstractBaseSession, BaseSessionManager
|
|
|
|
class SessionManager(BaseSessionManager):
|
|
creation_counter: int
|
|
model: None
|
|
name: None
|
|
use_in_migrations: bool = ...
|
|
|
|
class Session(AbstractBaseSession):
|
|
expire_date: datetime.datetime
|
|
session_data: str
|
|
session_key: str
|
|
objects: Any = ...
|
|
@classmethod
|
|
def get_session_store_class(cls) -> Type[SessionStore]: ...
|
|
class Meta(AbstractBaseSession.Meta):
|
|
db_table: str = ...
|