Again, Model and ModelForm validation

2013-01-25 Thread Fabio Natali
Hi everybody, suppose I have a model and want to add some custom validation to *just one* of its fields. Using Django 1.4 here. I expect that specific validation constraint to be used both in my forms and in my save method. Should I better use Model clean_fields() method? Or the clean() one

Model and ModelForm validation

2013-01-25 Thread Fabio Natali
Hi everybody. I am reading this [0] and can't perfectly understand what this line means: "Note that full_clean() will not be called automatically when you call your model's save() method, nor as a result of ModelForm validation. You'll need to call it manually when you want to run one-step mod