On 7/13/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> My question for the rest of the second message was a question of how
> much separation between forms and models there should be. For me the
> validation issue is key. We currently don't have any standard way to
> programmatically validate model fields, but we can validate forms before
> we stick them into model fields. Seems like it'd be easy to avoid some
> duplication if we just admit the possibility that model fields can
> optionally specify something about their form fields.

My personal opinion: the less coupling between models and forms, the
better. I'd even go so far as to suggest (though I don't think it'll
happen) that form_for_model and form_for_instance should go live in
django.shortcuts with the other cross-cutting utility functions ;)


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to