On Wed, Jan 28, 2009 at 8:45 PM, Matias Surdi <[email protected]> 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 argument for defining validation at the
model... which is why work is currently underway to implement this
feature. The goal is to have this in Django v1.1.

For more details, see:
http://code.djangoproject.com/wiki/Version1.1Features
http://code.djangoproject.com/ticket/6845

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to