Kaydet (Commit) 53e85705 authored tarafından Josh Schneier's avatar Josh Schneier Kaydeden (comit) Tim Graham

Fixed typo in docs/ref/templates/api.txt.

üst a9f56521
......@@ -371,10 +371,10 @@ replaced with the name of the invalid variable.
While ``string_if_invalid`` can be a useful debugging tool, it is a bad
idea to turn it on as a 'development default'.
Many templates, including some of the Django's templates, rely upon the
silence of the template system when a nonexistent variable is encountered.
If you assign a value other than ``''`` to ``string_if_invalid``, you will
experience rendering problems with these templates and sites.
Many templates, including some of Django's, rely upon the silence of the
template system when a nonexistent variable is encountered. If you assign a
value other than ``''`` to ``string_if_invalid``, you will experience
rendering problems with these templates and sites.
Generally, ``string_if_invalid`` should only be enabled in order to debug
a specific template problem, then cleared once debugging is complete.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment