Opened 8 years ago

Closed 8 years ago

#7719 closed (duplicate)

Configuration do avoid error silencing when rendering template

Reported by: Gabriel Falcão Owned by: nobody
Component: Template system Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


When developing new form widgets and fields, the possibility to get exceptions like SyntaxError and so it so big.
The current template rendering behavior is awful and non-explicit, i could say that is non-pythonic either.
So, to avoid problems, instead of propose cut this behavior off, i suppose that is better if i would a configuration.

Here comes a patch for it.

Attachments (1)

template_error_silencing_configuration.patch (1.7 KB) - added by Gabriel Falcão 8 years ago.
Using a config to avoid error silencing in django templates

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Gabriel Falcão

Using a config to avoid error silencing in django templates

comment:1 Changed 8 years ago by Simon Greenhill

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

Duplicate of #6907

Note: See TracTickets for help on using tickets.
Back to Top