1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +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

@@ -1,5 +1,5 @@
from django.http import HttpRequest
from django.middleware.csrf import _compare_masked_tokens as equivalent_tokens
from django.middleware.csrf import _does_token_match as equivalent_tokens
from django.template.context_processors import csrf
from django.test import SimpleTestCase