Yes, Sorry I meant view not middleware.
I suppose the question is ultimatly an question of taste.

I do completly agree that form processing is complex, and that error
checking should
be done in the view. Im still not sure, however, that the definition
of how it gets rendered
in hml should be anywhere but the template. Thanks for all your help
though, it always helps
to get other peoples' perspecive.

Kind regards,
Sebastian

On Jun 29, 2:01 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 6/29/07, Sebastian <[EMAIL PROTECTED]> wrote:
>
> > From my point of view, however, the problem remains
> > that the the widget definition
> > is still in the middleware.
>
> I think you mean view?
>
> > it seems to be the most logical place to do it.
>
> Not to me-- form processing is fairly complex, considering that you
> might wish to do extra work for validation errors or use custom
> fields.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to