I used to do that too (string_if_invalid that raises an exception). What
was nice about this, is you could explicitly wrap the variable in an if tag
to silence the error if you were ok with it. (I'm not sure if this behavior
is still true.)
{% if var_that_sometimes_exists %}{{
As an anecdotal data-point: at the company I'm working at, we are running
Django with a custom object as "string_if_invalid" that raises an exception
on string-interpolation. This way missing template variables *do* get
converted to an exception. I myself am very happy with this solution, as it
We received a report that shows the large number of undefined variable
warnings when rendering an admin changelist page [0].
I'm still not sure what the solution should be, but I created #28526 [1] to
track this problem: finding a remedy to the problem of verbose, often
unhelpful logging of
Hi! I think that you can click on "Save and continue editing" and this is
your expected behaviour no?
El jueves, 1 de junio de 2017, 10:05:04 (UTC+2), C. Waidi escribió:
>
> Summary
>
> When clicking on page -> page settings, you have on the left bottom corner
> two buttons to change between