This commit is contained in:
Ross
2025-12-09 21:12:05 +00:00
parent 3906ab3c55
commit c94c204d51
2 changed files with 33 additions and 3 deletions
+3 -1
View File
@@ -101,7 +101,9 @@ class RotaScheduleForm(forms.ModelForm):
# Expose a small set of RotaBuilder constructor arguments on the form
# so they can be set per-rota. These are stored inside `instance.options`
# and will be passed through by `RotaSchedule.to_rota_builder()`.
# and will be passed through by `RotaSchedule.to_rota_builder()` as
# legacy builder args (the remaining keys in `options` are treated as
# constraint configuration for `RotaConstraintOptions`).
builder_args = {
"balance_offset_modifier": {"type": "int", "default": 1, "help": "Balance offset modifier used by the builder"},
"ltft_balance_offset": {"type": "int", "default": 1, "help": "LTFT balance offset used by the builder"},