On Wed, Jan 28, 2009 at 8:45 PM, Matias Surdi wrote:
>
> Shouldn't validation be defined in the modell instead of the forms?
There are cases where form validation is the right thing to do - for
example, if you have a web form that isn't backed by a model. However,
there is certainly a good argum
Shouldn't validation be defined in the modell instead of the forms?
Suppose I've a Model wich has some restrictions on the value a field can
get, and then I've a custom form for this model for the admin interface
and two other forms for the public interface.
Does this mean that I've to define
2 matches
Mail list logo