Wpis z mikrobloga

@sars_cov_2: Dokumentacja panie,
Model.fullclean(exclude=None, validateunique=True)¶
This method calls Model.cleanfields(), Model.clean(), and Model.validateunique() (if validateunique is True), in that order and raises a ValidationError that has a messagedict attribute containing errors from all three stages.

The optional exclude argument can be used to provide a list of field names that can be excluded from validation and cleaning. ModelForm uses this argument to exclude fields that
  • Odpowiedz