mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #32800 -- Renamed _compare_masked_tokens() to _does_token_match().
This commit is contained in:
committed by
Mariusz Felisiak
parent
4b6208ffdd
commit
7132341255
@@ -3,7 +3,7 @@ import re
|
||||
from django.forms import CharField, Form, Media
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
from django.middleware.csrf import (
|
||||
CsrfViewMiddleware, _compare_masked_tokens as equivalent_tokens, get_token,
|
||||
CsrfViewMiddleware, _does_token_match as equivalent_tokens, get_token,
|
||||
)
|
||||
from django.template import TemplateDoesNotExist, TemplateSyntaxError
|
||||
from django.template.backends.dummy import TemplateStrings
|
||||
|
||||
Reference in New Issue
Block a user