diff options
| author | Tim Graham <timograham@gmail.com> | 2014-08-18 20:37:16 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-18 20:37:47 -0400 |
| commit | 9432f1e750eca440e19903ee1b1cef0679f6f98b (patch) | |
| tree | 017647486e8af0e93ab474dfd77dfd543b5a82a2 /docs/ref | |
| parent | 132d0e516e5881cb3f6445e9d84e01c9f2123254 (diff) | |
Fixed some doc errors that caused syntax highlighting to fail.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 4 | ||||
| -rw-r--r-- | docs/ref/templates/api.txt | 2 | ||||
| -rw-r--r-- | docs/ref/templates/builtins.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 541f43dcb3..fe5920eee3 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -569,7 +569,7 @@ Selector and checkbox widgets .. code-block:: html <ul> - <li><input type='radio' ...></li> + <li><input type='radio' name='...'></li> ... </ul> @@ -663,7 +663,7 @@ Selector and checkbox widgets .. code-block:: html <ul> - <li><input type='checkbox' ...></li> + <li><input type='checkbox' name='...' ></li> ... </ul> diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index a058ee032b..0a50e5e243 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -320,7 +320,7 @@ If you ``pop()`` too much, it'll raise >>> c.pop() Traceback (most recent call last): ... - django.template.ContextPopException + ContextPopException .. versionadded:: 1.7 diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 516ddbe1de..da860c4bb7 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -108,7 +108,7 @@ Variables included in the cycle will be escaped. You can disable auto-escaping with:: {% for o in some_list %} - <tr class="{% autoescape off %}{% cycle rowvalue1 rowvalue2 %}{% endautoescape %} + <tr class="{% autoescape off %}{% cycle rowvalue1 rowvalue2 %}{% endautoescape %}"> ... </tr> {% endfor %} |
