Re: File Uploads Form Field "title" Questions

2011-01-27 Thread hank23
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

Re: File Uploads Form Field "title" Questions

2011-01-27 Thread 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

Re: File Uploads Form Field "title" Questions

2011-01-27 Thread Rob McQueen
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

File Uploads Form Field "title" Questions

2011-01-27 Thread hank23
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