Open Lymkwi opened 1 year ago
Shall we add a cancellation_deadline
in the model or shall we compute it (in the validator of cancellation endpoint)?
Shall we add a
cancellation_deadline
in the model or shall we compute it (in the validator of cancellation endpoint)?
From experience, we should add it to the model (and maybe compute it to a default on tournament creation, but it should be editable, I was asked to change it in the past, there is no reason it couldn't happen again)
Shall we add a
cancellation_deadline
in the model or shall we compute it (in the validator of cancellation endpoint)?From experience, we should add it to the model (and maybe compute it to a default on tournament creation, but it should be editable, I was asked to change it in the past, there is no reason it couldn't happen again)
Will be doable because Django lets you use functions for default values
oops
Here are some more advanced features needed for a fully functional tournament module: