mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fix many many typos in comments throughout the codebase
This commit is contained in:
parent
8b5b199e20
commit
2bcb8bfc8d
53 changed files with 79 additions and 80 deletions
|
@ -167,7 +167,7 @@ class SimpleTemplateResponseTest(TestCase):
|
|||
self.assertEqual(unpickled_response['content-type'], response['content-type'])
|
||||
self.assertEqual(unpickled_response.status_code, response.status_code)
|
||||
|
||||
# ...and the unpickled reponse doesn't have the
|
||||
# ...and the unpickled response doesn't have the
|
||||
# template-related attributes, so it can't be re-rendered
|
||||
template_attrs = ('template_name', 'context_data', '_post_render_callbacks')
|
||||
for attr in template_attrs:
|
||||
|
@ -273,7 +273,7 @@ class TemplateResponseTest(TestCase):
|
|||
self.assertEqual(unpickled_response['content-type'], response['content-type'])
|
||||
self.assertEqual(unpickled_response.status_code, response.status_code)
|
||||
|
||||
# ...and the unpickled reponse doesn't have the
|
||||
# ...and the unpickled response doesn't have the
|
||||
# template-related attributes, so it can't be re-rendered
|
||||
template_attrs = ('template_name', 'context_data',
|
||||
'_post_render_callbacks', '_request', '_current_app')
|
||||
|
|
|
@ -717,7 +717,7 @@ class TemplateTests(TestCase):
|
|||
'basic-syntax27': (r'{{ _("\"fred\"") }}', {}, "\"fred\""),
|
||||
|
||||
# regression test for ticket #12554
|
||||
# make sure a silent_variable_failure Exception is supressed
|
||||
# make sure a silent_variable_failure Exception is suppressed
|
||||
# on dictionary and attribute lookup
|
||||
'basic-syntax28': ("{{ a.b }}", {'a': SilentGetItemClass()}, ('', 'INVALID')),
|
||||
'basic-syntax29': ("{{ a.b }}", {'a': SilentAttrClass()}, ('', 'INVALID')),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue