Rajesh,
Thanks a million. That advice got me almost all the way there.
Needed one more twist, because the file url was unicode, so created
this method:
def file_url(self):
return encoding.iri_to_uri(self.file.url)
Now it all works.
--~--~-~--~~~---~--~-
On Oct 2, 3:36 pm, bobhaugen <[EMAIL PROTECTED]> wrote:
> Seehttp://dpaste.com/81988/
>
> Ran some tests, FileFields work fine in admin.
>
> In a ModelForm, when I select a file with the Browse button, then
> click the submit button, the FileField value disappears and I get a
> required field er
See http://dpaste.com/81988/
Ran some tests, FileFields work fine in admin.
In a ModelForm, when I select a file with the Browse button, then
click the submit button, the FileField value disappears and I get a
required field error.
Did a bunch of googling, ran into this:
http://appengineguy.com
3 matches
Mail list logo