On Tue, Aug 4, 2009 at 7:08 AM, Martje<martijn.basti...@gmail.com> wrote:
> This seem ok, since I only used field 3 and 1. But when I look at
> request.FILES, I get:
>
> <MultiValueDict: {}>
>
> It shouldn't be empty, should it?

If you've forgotten to set the 'enctype' attribute of the HTML <form>
element properly, you won't get any files sent. The documentation
covers this and how to programmatically detect forms which need it:

http://docs.djangoproject.com/en/dev/ref/forms/api/#testing-for-multipart-forms


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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

Reply via email to