Probably not the accurate title since i am new to flask/python. I am working on an internal tool which will be used by different teams. Each team has different stages of their deployments e.g., alpha
, beta|test
, prod
and they also have multiple regions e.g., NA
, EU
, AP
etc ...
Right now i when i am using redirect_template
i am sending stage
and region
as variable which are then used in templates. However, doing for every redirect_template
is kind of cumbersome. Is there any better approach to this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…