So then the "title" field isn't really related to the file field which
will represent the actual file that I'm trying to upload then right?
And my form really needs to have only the FileField for the file that
I plan to upload then right?
On Jan 27, 10:51 am, Daniel Roseman
On Thursday, January 27, 2011 3:53:57 PM UTC, hank23 wrote:
>
> I'm trying to code and implement a file upload screen. I've looked at
> the documentation at:
>
> http://docs.djangoproject.com/en/1.2/topics/http/file-uploads/
>
> and the document shows a simple upload form called UploadFileForm
I think this is trivial considering that the example does not use
request.POST['title'] They must of just forgot to use the title field in the
view?
One practical example could be to use the title as the filename which you
intend to store in your filesystem. You can do this by changing the
I'm trying to code and implement a file upload screen. I've looked at
the documentation at:
http://docs.djangoproject.com/en/1.2/topics/http/file-uploads/
and the document shows a simple upload form called UploadFileForm
which is shown with two fields coded for it. I'm assuming that the
field
4 matches
Mail list logo