1
0
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:
Chris Jerdonek
2021-06-30 12:17:58 -04:00
committed by Mariusz Felisiak
parent 4b6208ffdd
commit 7132341255
4 changed files with 8 additions and 8 deletions

View File

@@ -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