mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Removed double spaces after periods and within phrases.
This commit is contained in:
@@ -575,7 +575,7 @@ class TranslationBlockTranslateTagTests(SimpleTestCase):
|
||||
rendered = t.render(Context())
|
||||
self.assertEqual(rendered, "May")
|
||||
|
||||
# Existing context... using a literal
|
||||
# Existing context... using a literal
|
||||
t = self.get_template(
|
||||
"{% load i18n %}"
|
||||
'{% blocktranslate context "month name" %}May{% endblocktranslate %}'
|
||||
|
||||
@@ -142,7 +142,7 @@ class CallableVariablesTests(TestCase):
|
||||
c = Context({"my_doodad": my_doodad})
|
||||
|
||||
# Since ``my_doodad.do_not_call_in_templates`` is True, the template
|
||||
# system will not try to call our doodad. We can access its attributes
|
||||
# system will not try to call our doodad. We can access its attributes
|
||||
# as normal, and we don't have access to the dict that it returns when
|
||||
# called.
|
||||
t = self.engine.from_string("{{ my_doodad.value }}")
|
||||
|
||||
Reference in New Issue
Block a user