| | 215 | .. admonition:: For debug purposes only! |
|---|
| | 216 | |
|---|
| | 217 | While ``TEMPLATE_STRING_IF_INVALID`` can be a useful debugging tool, |
|---|
| | 218 | it is a bad idea to turn it on as a 'development default'. |
|---|
| | 219 | |
|---|
| | 220 | Many templates, including those in the Admin site, rely upon the |
|---|
| | 221 | silence of the template system when a non-existent variable is |
|---|
| | 222 | encountered. If you assign a value other than ``''`` to |
|---|
| | 223 | ``TEMPLATE_STRING_IF_INVALID``, you will experience rendering |
|---|
| | 224 | problems with these templates and sites. |
|---|
| | 225 | |
|---|
| | 226 | Generally, ``TEMPLATE_STRING_IF_INVALID`` should only be enabled |
|---|
| | 227 | in order to debug a specific template problem, then cleared |
|---|
| | 228 | once debugging is complete. |
|---|
| | 229 | |
|---|