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()

Related questions

0 votes
asked Jun 28, 2022 in Django by Robin
0 votes
asked Jun 26, 2022 in Django by john ganales
...