Cascade a team template down to every athlete on the team. Head coach only.
The macrocycle deploy is the action that cascades a team
template down to every athlete on that team. It takes a plan
with is_template=True attached to a team and produces (or
updates) an individual plan for each athlete, with the
template's config_json carried down and a parent_template
link pointing back.
URL: /admin/macrocycle-deploy/<plan_id>/.
Only head coaches of the team (the Main Coach) and admin tier users. Assistant coaches are blocked because deploying affects the whole team's plans, which is a head-coach decision.
parent_template is this template).A plan is marked is_stale=True if the parent template was
updated after the athlete's derived plan was last deployed,
which surfaces in the macrocycle dashboard so you can see who
is out of sync.
You can also create an individual MacrocyclePlan for one
athlete without a parent template (athlete set, team blank). For
those plans there is no separate "deploy" cascade; the plan
takes effect when its status is set to active and its date
window covers the current week.
Redeploy is safe: athletes whose derived plans already match the template are left untouched.
Still stuck? Ask us a question and we'll write up an answer.
Ask a question