I have a form trying to upload an image. In the docs it says that the
form must be bound to save a file. This is an issue for me because I
wan't to save the file with other data such as the User object that
saved it. I can't put a User object in a form so I put the username in
a hidden form field which allows me to find the user in the view and
use it. But, I can't bind the form with data not from POST right? I
need to do request.FILES, in combination with data not coming from
post. I'm obviously confused I would appreciate some guidance here....

Here's the code: http://gist.github.com/594136

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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