On 9/14/07, Dushyant Sharma <[EMAIL PROTECTED]> wrote:
>
> def thing_add(request):
>     if request.method == 'POST':
>         new_data = request.POST.copy()
>         new_data.update(request.FILES)

This example is incorrect for the current trunk version of Django. You
don't update the request.FILES into request.POST - you pass in the
FILES data as a second argument to the form.

This obviously needs to be documented better - please raise a ticket
so that it doesn't get forgotten.

Yours,
Russ Magee %-)

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