mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +08:00
* add import_all.test builder * fix errors * fix typechecking errors * fix migrations typechecking
21 lines
487 B
Python
21 lines
487 B
Python
import json
|
|
from typing import Any
|
|
|
|
from django.contrib.messages.storage.base import BaseStorage
|
|
|
|
class MessageEncoder(json.JSONEncoder):
|
|
allow_nan: bool
|
|
check_circular: bool
|
|
ensure_ascii: bool
|
|
skipkeys: bool
|
|
sort_keys: bool
|
|
message_key: str = ...
|
|
|
|
class MessageDecoder(json.JSONDecoder):
|
|
def process_messages(self, obj: Any) -> Any: ...
|
|
|
|
class CookieStorage(BaseStorage):
|
|
cookie_name: str = ...
|
|
max_cookie_size: int = ...
|
|
not_finished: str = ...
|