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 django-developers@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-developers -~----------~----~----~----~------~----~------~--~---