summaryrefslogtreecommitdiff
path: root/tests/template_backends
diff options
context:
space:
mode:
authorRam Rachum <ram@rachum.com>2020-02-25 15:16:19 +0200
committerGitHub <noreply@github.com>2020-02-25 14:16:19 +0100
commit5b09354954348f1a56df32b2d7dbe074a23a4532 (patch)
treeabf67c8d665b7e97999fb5137c111a0f64f0a6a6 /tests/template_backends
parent271fdab8b78af558238df51c64b4d1c8dd0792bb (diff)
downloaddjango-5b09354954348f1a56df32b2d7dbe074a23a4532.tar.gz
Fixed #31291 -- Renamed salt to mask for CSRF tokens.
Diffstat (limited to 'tests/template_backends')
-rw-r--r--tests/template_backends/test_dummy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template_backends/test_dummy.py b/tests/template_backends/test_dummy.py
index 5790c0604a..598397a711 100644
--- a/tests/template_backends/test_dummy.py
+++ b/tests/template_backends/test_dummy.py
@@ -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_salted_tokens as equivalent_tokens, get_token,
+ CsrfViewMiddleware, _compare_masked_tokens as equivalent_tokens, get_token,
)
from django.template import TemplateDoesNotExist, TemplateSyntaxError
from django.template.backends.dummy import TemplateStrings