Tuesday, July 12, 2011

Re: Emailing submitted forms

> >     As the form is quite long I don't want to maintain a
> >     field-after-field html template for the results.
>
> >     Is there any convenient way to do this?
>
> > Iterate over the fields in the form in an email template and send that
> > template over?
>
> Hmm, yes, that'll do. I was hoping for getting away without the iteration.
>
Hmm. I would have said iteration *is* the most convenient way of doing
this. That adds one line to the code. Any simpler and you'll need to
invoke magic ;)

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate