Files
django-stubs/django-stubs/core/checks/security/csrf.pyi
2018-07-29 23:25:20 +03:00

15 lines
439 B
Python

# Stubs for django.core.checks.security.csrf (Python 3.6)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any
from django.core.checks.messages import Warning
from typing import List
W003: Any
W016: Any
def _csrf_middleware() -> bool: ...
def check_csrf_middleware(app_configs: None, **kwargs: Any) -> List[Warning]: ...
def check_csrf_cookie_secure(app_configs: Any, **kwargs: Any): ...