biweeklybudget.flaskapp.context_processors module

biweeklybudget.flaskapp.context_processors.add_currency_symbol()[source]

Context processor to inject the proper currency symbol into the Jinja2 context as the “CURRENCY_SYM” variable.

Returns:proper currency symbol for our locale and currency
Return type:str
biweeklybudget.flaskapp.context_processors.notifications()[source]

Add notifications to template context for all templates.

Returns:template context with notifications added
Return type:dict
biweeklybudget.flaskapp.context_processors.settings()[source]

Add settings to template context for all templates.

Returns:template context with settings added
Return type:dict