diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2013-05-22 18:08:06 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2013-05-22 18:09:22 -0300 |
| commit | a6ff705aea7ffcfb5477ce8c94a6cc1cd70f4bb1 (patch) | |
| tree | a0da0265a60ff00fde0b3e7ded93c524d77e69dc /docs/ref/templates | |
| parent | 239b89950caa88902ee2303353742e5302dc0eb0 (diff) | |
[1.5.x] Tweaked a reST construct in template API docs. Refs #20104.
Diffstat (limited to 'docs/ref/templates')
| -rw-r--r-- | docs/ref/templates/api.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 54f578a99f..8ff7e6a34e 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -221,13 +221,13 @@ straight lookups. Here are some things to keep in mind: self.database_record.delete() sensitive_function.alters_data = True -* .. versionadded:: 1.4 - Occasionally you may want to turn off this feature for other reasons, - and tell the template system to leave a variable un-called no matter - what. To do so, set a ``do_not_call_in_templates`` attribute on the - callable with the value ``True``. The template system then will act as - if your variable is not callable (allowing you to access attributes of - the callable, for example). +.. versionadded:: 1.4 + Occasionally you may want to turn off this feature for other reasons, + and tell the template system to leave a variable un-called no matter + what. To do so, set a ``do_not_call_in_templates`` attribute on the + callable with the value ``True``. The template system then will act as + if your variable is not callable (allowing you to access attributes of + the callable, for example). .. _invalid-template-variables: |
