Hi Adrian,

Thank you for the prompt response. And, sorry for posting this to the
developers group.

Your suggestion works! Thanks again. Should this also be added to the
list of newbie mistakes?

What a wonderful framework you have built. I wish such frameworks could
be built for the EDA (electronic design automation) industry! Oh, well.

Regards,
Bala.

Adrian Holovaty wrote:
> On 8/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > <form action="/photo/info/"
> >       method="post" enctype="text/plain">
> . [...]
> > Now here is the problem: print request.POST['tag_str'] in function
> > views.info prints the following:
> >
> > tag1, tag2 title_str=This is the title caption_str=Some random
> > paragraph
> >
> > and print request.POST['title_str'] returns error because key
> > 'title_str' is not found.
> >
> > What am I doing wrong?  Why are the keys and their respective values in
> > tag_str?
>
> Hi Bala,
>
> Remove the 'enctype="text/plain"' from your <form> tag, and it'll work.
>
> Adrian
> 
> -- 
> Adrian Holovaty
> holovaty.com | djangoproject.com


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to