Re: Forms with FileField - access file content

2011-10-20 Thread Leonardo Giordani
Yes you are right, I was not thinking about security. :) Thanks 2011/10/20 Tom Evans > On Thu, Oct 20, 2011 at 10:49 AM, Leonardo Giordani > wrote: > > No, I think I didn't correctly explain the matter; say I have a Thing > model > > with a list of strings in it. > > > > I want the user to be

Re: Forms with FileField - access file content

2011-10-20 Thread Tom Evans
On Thu, Oct 20, 2011 at 10:49 AM, Leonardo Giordani wrote: > No, I think I didn't correctly explain the matter; say I have a Thing model > with a list of strings in it. > > I want the user to be able to: > > 1. Access the Thing creation form > 2. While editing the form loading a file and being pre

Re: Forms with FileField - access file content

2011-10-20 Thread Leonardo Giordani
No, I think I didn't correctly explain the matter; say I have a Thing model with a list of strings in it. I want the user to be able to: 1. Access the Thing creation form 2. While editing the form loading a file and being presented with the full content 3. Choosing some lines from that content 4.

Re: Forms with FileField - access file content

2011-10-20 Thread Venkatraman S
On Thu, Oct 20, 2011 at 1:32 PM, Leonardo Giordani < giordani.leona...@gmail.com> wrote: > > I'm trying to implement a an application where the user creates a new > object through a form. Up to here I'm fine. > > This time though the object creation involves loading a file and choosing > some data

Forms with FileField - access file content

2011-10-20 Thread Leonardo Giordani
Hi all, I'm trying to implement a an application where the user creates a new object through a form. Up to here I'm fine. This time though the object creation involves loading a file and choosing some data from it (say choosing some lines, for examples). So I'm a little stuck here. How can I let