#23736 closed Bug (fixed)
Description of silent_variable_failure is incorrect
Reported by: | Aymeric Augustin | Owned by: | Tim Graham |
---|---|---|---|
Component: | Documentation | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/1.7/ref/templates/api/#variables-and-lookups says that when an exception is swallowed because it has a silent_variable_failure attribute
set to True
, the variable that failed is rendered as the empty string.
Actually it's rendered as settings.TEMPLATE_STRING_IF_INVALID
which seems to be the correct behavior.
Change History (4)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In e7cb4f2fbaff7996fb48e9c79aa0ec454abcf8f7: