We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08f6e43 commit 038c649Copy full SHA for 038c649
tests/test_integration.py
@@ -8,6 +8,7 @@
8
9
import django
10
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
11
+from django.core import signing
12
from django.core.checks import Error, run_checks
13
from django.template.loader import get_template
14
from django.test import RequestFactory, TestCase
@@ -143,7 +144,7 @@ def test_template_source_checks_show_toolbar(self):
143
144
url = '/__debug__/template_source/'
145
data = {
146
'template': template.template.name,
- 'template_origin': template.template.origin.name
147
+ 'template_origin': signing.dumps(template.template.origin.name)
148
}
149
150
response = self.client.get(url, data)
0 commit comments