Loading docs/ref/forms/widgets.txt +2 −2 Original line number Diff line number Diff line Loading @@ -569,7 +569,7 @@ Selector and checkbox widgets .. code-block:: html <ul> <li><input type='radio' ...></li> <li><input type='radio' name='...'></li> ... </ul> Loading Loading @@ -663,7 +663,7 @@ Selector and checkbox widgets .. code-block:: html <ul> <li><input type='checkbox' ...></li> <li><input type='checkbox' name='...' ></li> ... </ul> Loading docs/ref/templates/api.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading docs/ref/templates/builtins.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 %} Loading docs/topics/i18n/translation.txt +3 −1 Original line number Diff line number Diff line Loading @@ -1329,7 +1329,9 @@ For example, if your Django app contained a translation string for the text _("Welcome to my site.") ...then :djadmin:`django-admin makemessages <makemessages>` will have created a ``.po`` file containing the following snippet -- a message:: a ``.po`` file containing the following snippet -- a message: .. code-block:: po #: path/to/python/module.py:23 msgid "Welcome to my site." Loading docs/topics/security.txt +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ protect the following: .. code-block:: html+django <style class={{ var }}>...</style> <style class="{{ var }}">...</style> If ``var`` is set to ``'class1 onmouseover=javascript:func()'``, this can result in unauthorized JavaScript execution, depending on how the browser renders Loading Loading
docs/ref/forms/widgets.txt +2 −2 Original line number Diff line number Diff line Loading @@ -569,7 +569,7 @@ Selector and checkbox widgets .. code-block:: html <ul> <li><input type='radio' ...></li> <li><input type='radio' name='...'></li> ... </ul> Loading Loading @@ -663,7 +663,7 @@ Selector and checkbox widgets .. code-block:: html <ul> <li><input type='checkbox' ...></li> <li><input type='checkbox' name='...' ></li> ... </ul> Loading
docs/ref/templates/api.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/ref/templates/builtins.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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 %} Loading
docs/topics/i18n/translation.txt +3 −1 Original line number Diff line number Diff line Loading @@ -1329,7 +1329,9 @@ For example, if your Django app contained a translation string for the text _("Welcome to my site.") ...then :djadmin:`django-admin makemessages <makemessages>` will have created a ``.po`` file containing the following snippet -- a message:: a ``.po`` file containing the following snippet -- a message: .. code-block:: po #: path/to/python/module.py:23 msgid "Welcome to my site." Loading
docs/topics/security.txt +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ protect the following: .. code-block:: html+django <style class={{ var }}>...</style> <style class="{{ var }}">...</style> If ``var`` is set to ``'class1 onmouseover=javascript:func()'``, this can result in unauthorized JavaScript execution, depending on how the browser renders Loading