Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.5.x] Tweaked a reST construct in template API docs. Refs #20104.

  • Loading branch information...
commit a6ff705aea7ffcfb5477ce8c94a6cc1cd70f4bb1 1 parent 239b899
@ramiro ramiro authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 docs/ref/templates/api.txt
View
14 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:
Please sign in to comment.
Something went wrong with that request. Please try again.