Currently, full_clean() must be called manually before save() to validate field constraints.
Goal: Add a validate: bool = False parameter to Model.save(). If True, it should trigger full_clean() before proceeding with the database write.
Implementation hint: Modify ryx/models.py's save method.
Currently,
full_clean()must be called manually beforesave()to validate field constraints.Goal: Add a
validate: bool = Falseparameter toModel.save(). IfTrue, it should triggerfull_clean()before proceeding with the database write.Implementation hint: Modify
ryx/models.py'ssavemethod.