Wednesday, May 15, 2013

Getting file list and other paramters

I have a form with an upload files button. The form is POSTed so that
I can get the file list in HttpRequest.FILES (which is only populated
for a POST). But I have other parameters I want to pass back as well
(which I cannot do in POST). So I changed it to a GET, but now the
list of files is a string, and not a list of file objects. Is there a
way I can get a list of file objects and other parameters sent back at
the same time?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate