mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #30585 -- Updated project templates and tests to use (block)translate tags.
This commit is contained in:
committed by
Mariusz Felisiak
parent
d291c72bf2
commit
35d36d9462
@@ -53,7 +53,7 @@ class InvalidStringTests(SimpleTestCase):
|
||||
else:
|
||||
self.assertEqual(output, '')
|
||||
|
||||
@setup({'invalidstr07': '{% load i18n %}{% blocktrans %}{{ var }}{% endblocktrans %}'})
|
||||
@setup({'invalidstr07': '{% load i18n %}{% blocktranslate %}{{ var }}{% endblocktranslate %}'})
|
||||
def test_invalidstr07(self):
|
||||
output = self.engine.render_to_string('invalidstr07')
|
||||
if self.engine.string_if_invalid:
|
||||
|
||||
Reference in New Issue
Block a user