Hacker News new | past | comments | ask | show | jobs | submit login

Django forms (and their non-Django counterpart, WTForms) are very easy to use, with a declarative syntax.

The advantage is that validation is decoupled from models. Often you need to handle validation which doesn't directly involve a single model - for example sending an email, or handling updates to a number of models. This saves you having to litter your controller/views with validation code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: