On Sunday 20 June 2010 10:52:23 Joshua Kramer wrote:
> It was not before, but I added the line; so the form looks like:
>
> <form method="post" enctype="multipart/form-data" action="/projects/
> files/add/{{ prjID }}/">
>
> ...and still no dice - there isn't anything in the request.FILES
> dictionary.
>
and do you have code like:
form = MyForm(request.POST,request.FILES)
if form.is_valid():
do something
in your view?
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en.