On Sat, Oct 10, 2009 at 6:17 PM, Jim DeLaHunt <jim.delah...@gmail.com>wrote:

>
> [snip]
> 3. Understand if the Django Modelform is the way I ought to be
> handling this.  Forms are the only Django entity for which I can find
> documentation about doing validation in accordance with the Model.
> There's a lot in the Forms documentation about generating HTML and
> responding to request.POST.  Are there any writeups or patterns of
> using Forms purely as a formatting and validation mechanism, with no
> HTML display or HTTP interaction?
>
> I'm reading through the Modelform documentation right now, but I'd
> love to know if I'm on the right track.  Thanks in advance for any
> advice, or pointers to documentation I've overlooked!
>
>
Malcolm wrote a blog post you might find helpful for this:

http://www.pointy-stick.com/blog/2008/10/15/django-tip-poor-mans-model-validation/

Karen

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

Reply via email to