Re: FileField not getting populated back to the form.

2006-08-15 Thread Jay Parlar
On 8/15/06, paddy <[EMAIL PROTECTED]> wrote: > Right now when the user populates the form to create one of these > objects, and if there are errors the form is re-displayed to the user. > All my fields are populated with the data the user entered except the > FileField. This is really annoying as

Re: FileField not getting populated back to the form.

2006-08-15 Thread Frank Stüss
Hi Pat, maybe you should use it as in admin form: display the recent file path with get__url in your form. With image upload fields, i got me a special formfield, displaying the recent image, so you can only say {{ form.myImage }} in your templates. Greets, Frank Am Dienstag, 15. August 2

FileField not getting populated back to the form.

2006-08-15 Thread paddy
Hi, I've read through alot of posts on filefields but cant find anything that's obviously related to my problem. I've got a model that has a filefield, charField, textField, few dateTime fields, foreign keys, charfield with choices. A good mix. Right now when the user populates the form to creat