Functions
check_csrf_form_tokens
2
list[ContractIssue]
▼
Warn when CSRFMiddleware is active but a static mutating form lacks a token.
check_csrf_form_tokens
2
list[ContractIssue]
▼
def check_csrf_form_tokens(template_sources: dict[str, str], middleware_list: list[Any]) -> list[ContractIssue]
Parameters
| Name | Type | Description |
|---|---|---|
template_sources |
dict[str, str] |
|
middleware_list |
list[Any] |
Returns
list[ContractIssue]