How to pass a variable between Flask pages code example Example: how to set variable in flask {% set variable_name = value %}