mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed many typos in comments and docstrings.
Thanks Piotr Kasprzyk for help with the patch.
This commit is contained in:
committed by
Tim Graham
parent
6acaa52386
commit
0d91225892
@@ -69,7 +69,7 @@ libraries = {}
|
||||
builtins = []
|
||||
|
||||
# True if TEMPLATE_STRING_IF_INVALID contains a format string (%s). None means
|
||||
# uninitialised.
|
||||
# uninitialized.
|
||||
invalid_var_format_string = None
|
||||
|
||||
|
||||
|
||||
@@ -567,7 +567,7 @@ def cycle(parser, token, escape=False):
|
||||
{% endfor %}
|
||||
|
||||
Outside of a loop, give the values a unique name the first time you call
|
||||
it, then use that name each sucessive time through::
|
||||
it, then use that name each successive time through::
|
||||
|
||||
<tr class="{% cycle 'row1' 'row2' 'row3' as rowcolors %}">...</tr>
|
||||
<tr class="{% cycle rowcolors %}">...</tr>
|
||||
@@ -944,7 +944,7 @@ def do_if(parser, token):
|
||||
{% endif %}
|
||||
|
||||
{% if athlete_list and coach_list %}
|
||||
Both atheletes and coaches are available.
|
||||
Both athletes and coaches are available.
|
||||
{% endif %}
|
||||
|
||||
{% if not athlete_list or coach_list %}
|
||||
|
||||
Reference in New Issue
Block a user