Closed HosMercury closed 7 months ago
When you say globals, you mean a context that is passed to every render?
I mean something is sometimes sent to the( base.html ) like flash messages. it will always be in the base it should appear if I send them to a specific page descended from the base.html otherwise nothing should happen.
so the variable will be in the base.html, not the child page. without that. I have to send that variable with every context which sometimes I do not need to do
there ??
how to get the flash messages / success msg / errors msg by having the ability to have globals/locals?