0 votes
in Django by
What can be used to provide custom model validation and to modify attributes on the model like changing the value on a field upon a conditional check?

select the correct answer from below options

a) Model.full_clean()

b) Model.clean()

c) Model.validate_unique(exclude=None)

d) Model.clean_fields(exclude=None)

1 Answer

0 votes
by
b) Model.clean()
...